projects
/
am-utils-6.1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db126ec
)
handle newer netbsd using statvfs
author
Christos Zoulas
<christos@zoulas.com>
Wed, 17 Sep 2008 20:17:35 +0000
(20:17 +0000)
committer
Christos Zoulas
<christos@zoulas.com>
Wed, 17 Sep 2008 20:17:35 +0000
(20:17 +0000)
conf/mtab/mtab_bsd.c
patch
|
blob
|
history
diff --git
a/conf/mtab/mtab_bsd.c
b/conf/mtab/mtab_bsd.c
index 26d04325e02653d077c773c04da1a6cd7008632b..6e7ce495755bd0aa9760d86d6161b3b6611b45a0 100644
(file)
--- a/
conf/mtab/mtab_bsd.c
+++ b/
conf/mtab/mtab_bsd.c
@@
-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)