From 7eaf5d674f32a0301c44e2f0f433aa7144ad1479 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 5 Dec 2019 14:53:43 -0800 Subject: stat: fix filesystem type on macOS. (Also show unknown values on Linux in hex rather than just "unknown".) --- lib/portability.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/portability.h') 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); -- cgit v1.2.3