projects
/
am-utils-6.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cf8771
)
newer NetBSD uses statvfs (perhaps handle this with autoconf?)
author
Christos Zoulas
<christos@zoulas.com>
Wed, 17 Sep 2008 20:19:07 +0000
(20:19 +0000)
committer
Christos Zoulas
<christos@zoulas.com>
Wed, 17 Sep 2008 20:19:07 +0000
(20:19 +0000)
conf/checkmount/checkmount_bsd44.c
patch
|
blob
|
history
diff --git
a/conf/checkmount/checkmount_bsd44.c
b/conf/checkmount/checkmount_bsd44.c
index 8873ea6c7df272c0250ba18d0686cf6ed64c517e..1640a1ef832ca18826f9d6cc18d280e4b09a0333 100644
(file)
--- a/
conf/checkmount/checkmount_bsd44.c
+++ b/
conf/checkmount/checkmount_bsd44.c
@@
-45,6
+45,9
@@
# include <config.h>
#endif /* HAVE_CONFIG_H */
#include <am_defs.h>
+#if __NetBSD_Version__ > 200030000
+#define statfs statvfs
+#endif
extern int is_same_host(char *name1, char *name2, struct in_addr addr2);
int fixmount_check_mount(char *host, struct in_addr hostaddr, char *path);