handle newer netbsd using statvfs
authorChristos Zoulas <christos@zoulas.com>
Wed, 17 Sep 2008 20:17:35 +0000 (20:17 +0000)
committerChristos Zoulas <christos@zoulas.com>
Wed, 17 Sep 2008 20:17:35 +0000 (20:17 +0000)
conf/mtab/mtab_bsd.c

index 26d04325e02653d077c773c04da1a6cd7008632b..6e7ce495755bd0aa9760d86d6161b3b6611b45a0 100644 (file)
@@ -53,6 +53,9 @@
 #include <am_defs.h>
 #include <amu.h>
 
+#if __NetBSD_Version__ > 200030000
+#define statfs statvfs
+#endif
 
 static mntent_t *
 mnt_dup(struct statfs *mp)