]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs_io: stat: fix typo in statfs->f_flags
authorJeff Mahoney <jeffm@suse.com>
Mon, 20 Nov 2017 19:54:02 +0000 (13:54 -0600)
committerEric Sandeen <sandeen@redhat.com>
Mon, 20 Nov 2017 19:54:02 +0000 (13:54 -0600)
The field name is f_flags.

Fixes: b4056fed "xfs_io: Print filesystem statfs flags in 'statfs' command"
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
io/stat.c

index b97ccedc4ecbb1cb901181774ab867ec5e952b99..ffe285c45da56b2b316a32bf0292c6445d013d8b 100644 (file)
--- a/io/stat.c
+++ b/io/stat.c
@@ -199,7 +199,7 @@ statfs_f(
                printf(_("statfs.f_bavail = %lld\n"), (long long) st.f_bavail);
                printf(_("statfs.f_files = %lld\n"), (long long) st.f_files);
                printf(_("statfs.f_ffree = %lld\n"), (long long) st.f_ffree);
-               printf(_("statfs.f_fflags = 0x%llx\n"), (long long) st.f_flags);
+               printf(_("statfs.f_flags = 0x%llx\n"), (long long) st.f_flags);
        }
        if (file->flags & IO_FOREIGN)
                return 0;