From 411fe06eed4f96b795c56e94a19919d3c79426cb Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 15 Dec 2010 15:06:25 +0100 Subject: [PATCH] findmnt: use new libmount functions Signed-off-by: Karel Zak --- misc-utils/findmnt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"); -- 2.39.5