diff options
author | Jim Meyering <meyering@redhat.com> | 2009-12-13 11:00:41 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-12-13 11:00:41 +0100 |
commit | 207a978e6483a56302319c56f3b8266cada0510d (patch) | |
tree | 036011bab3aa0f4d6c1c896a10d2a8f04f131c26 /src/stat.c | |
parent | 02919661750c535e67fd204345e2ac4982c70887 (diff) | |
download | coreutils-207a978e6483a56302319c56f3b8266cada0510d.tar.xz |
stat: recognize "sockfs" file system type, ...
... now that its magic number appears in <linux/magic.h>.
* src/stat.c (human_fstype) [S_MAGIC_SOCKFS]: Add case.
Diffstat (limited to 'src/stat.c')
-rw-r--r-- | src/stat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stat.c b/src/stat.c index 35f5d6647..2d4a956a2 100644 --- a/src/stat.c +++ b/src/stat.c @@ -327,6 +327,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf) return "selinux"; case S_MAGIC_SMB: /* 0x517B */ return "smb"; + case S_MAGIC_SOCKFS: /* 0x534F434B */ + return "sockfs"; case S_MAGIC_SQUASHFS: /* 0x73717368 */ return "squashfs"; case S_MAGIC_SYSFS: /* 0x62656572 */ |