projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07d5fdf
)
src/utils_mount.c: Fix defines so `cu_mount_getlist' works under Solaris.
author
Florian Forster
<octo@huhu.verplant.org>
Fri, 9 Feb 2007 16:39:01 +0000
(17:39 +0100)
committer
Florian Forster
<octo@huhu.verplant.org>
Fri, 9 Feb 2007 16:39:01 +0000
(17:39 +0100)
src/utils_mount.c
patch
|
blob
|
history
diff --git
a/src/utils_mount.c
b/src/utils_mount.c
index
a02e569
..
7748c61
100644
(file)
--- a/
src/utils_mount.c
+++ b/
src/utils_mount.c
@@
-638,8
+638,10
@@
cu_mount_t *cu_mount_getlist(cu_mount_t **list)
new = cu_mount_listmntent ();
#elif HAVE_GETVFSSTAT || HAVE_GETFSSTAT
new = cu_mount_getfsstat ();
-#elif HAVE_
GE
N_GETMNTENT
+#elif HAVE_
TWO_GETMNTENT || HAVE_GEN_GETMNTENT || HAVE_SU
N_GETMNTENT
new = cu_mount_gen_getmntent ();
+#elif HAVE_SEQ_GETMNTENT
+# warn "This version of `getmntent' hat not yet been implemented!"
#elif HAVE_ONE_GETMNTENT
new = cu_mount_getmntent ();
#else