From: Karel Zak Date: Wed, 15 Dec 2010 14:06:25 +0000 (+0100) Subject: findmnt: use new libmount functions X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=411fe06eed4f96b795c56e94a19919d3c79426cb;p=util-linux findmnt: use new libmount functions Signed-off-by: Karel Zak --- diff --git a/misc-utils/findmnt.c b/misc-utils/findmnt.c index 99af9783..ff0e1266 100644 --- a/misc-utils/findmnt.c +++ b/misc-utils/findmnt.c @@ -244,13 +244,13 @@ static const char *get_data(mnt_fs *fs, int num) str = mnt_fs_get_fstype(fs); break; case COL_OPTIONS: - str = mnt_fs_get_optstr(fs); + str = mnt_fs_strdup_options(fs); break; case COL_VFS_OPTIONS: - str = mnt_fs_get_vfs_optstr(fs); + str = mnt_fs_get_vfs_options(fs); break; case COL_FS_OPTIONS: - str = mnt_fs_get_fs_optstr(fs); + str = mnt_fs_get_fs_options(fs); break; case COL_UUID: str = get_tag(fs, "UUID");