]> err.no Git - util-linux/commitdiff
findmnt: use new libmount functions
authorKarel Zak <kzak@redhat.com>
Wed, 15 Dec 2010 14:06:25 +0000 (15:06 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 3 Jan 2011 11:28:47 +0000 (12:28 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/findmnt.c

index 99af97836888c0df2ed16e526f350a2c2bcf555c..ff0e1266321b5f139c269e1914848cd12de3408c 100644 (file)
@@ -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");