From 68f5c3fcbfc11fdf7024be530402c5802a8f4105 Mon Sep 17 00:00:00 2001 From: Alastair Poole Date: Mon, 8 Jun 2020 11:25:36 +0100 Subject: [PATCH] macos/openbsd: fs type name --- src/bin/system/filesystems.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/system/filesystems.c b/src/bin/system/filesystems.c index 4632ea3..3964d7c 100644 --- a/src/bin/system/filesystems.c +++ b/src/bin/system/filesystems.c @@ -145,7 +145,7 @@ filesystem_info_get(const char *path) fs->mount = strdup(mountpoint); fs->path = strdup(path); fs->type = stats.f_type; -#if defined(__FreeBSD__) || defined(__DragonFly__) +#if !defined(__linux__) fs->type_name = strdup(stats.f_fstypename); #endif fs->usage.total = stats.f_bsize * stats.f_blocks;