diff options
author | Elliott Hughes <enh@google.com> | 2019-12-05 14:53:43 -0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-12-06 12:45:29 -0600 |
commit | 7eaf5d674f32a0301c44e2f0f433aa7144ad1479 (patch) | |
tree | 8b204f90d06f23ac600f1ef09699b670abf025d0 /lib/portability.h | |
parent | 8c6a4db5558f55f176685de8e9ee082f8f7e9ced (diff) | |
download | toybox-7eaf5d674f32a0301c44e2f0f433aa7144ad1479.tar.gz |
stat: fix filesystem type on macOS.
(Also show unknown values on Linux in hex rather than just "unknown".)
Diffstat (limited to 'lib/portability.h')
-rw-r--r-- | lib/portability.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/portability.h b/lib/portability.h index 24cd1297..d81ddead 100644 --- a/lib/portability.h +++ b/lib/portability.h @@ -355,3 +355,5 @@ void xsignal_all_killers(void *handler); int dev_minor(int dev); int dev_major(int dev); int dev_makedev(int major, int minor); + +char *fs_type_name(struct statfs *statfs); |