ospfs_link works and fixed warnings