projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
snmp plugin: Implemented HostnameOID option
[collectd.git]
/
src
/
utils_mount.c
diff --git
a/src/utils_mount.c
b/src/utils_mount.c
index
2cab481
..
e430cc9
100644
(file)
--- a/
src/utils_mount.c
+++ b/
src/utils_mount.c
@@
-519,7
+519,6
@@
static cu_mount_t *cu_mount_gen_getmntent(void) {
return first;
} /* static cu_mount_t *cu_mount_gen_getmntent (void) */
return first;
} /* static cu_mount_t *cu_mount_gen_getmntent (void) */
-/* #endif HAVE_TWO_GETMNTENT || HAVE_GEN_GETMNTENT || HAVE_SUN_GETMNTENT */
#elif HAVE_SEQ_GETMNTENT
#warn "This version of `getmntent' hat not yet been implemented!"
#elif HAVE_SEQ_GETMNTENT
#warn "This version of `getmntent' hat not yet been implemented!"
@@
-689,7
+688,7
@@
void cu_mount_freelist(cu_mount_t *list) {
char *cu_mount_checkoption(char *line, const char *keyword, int full) {
char *line2, *l2, *p1, *p2;
char *cu_mount_checkoption(char *line, const char *keyword, int full) {
char *line2, *l2, *p1, *p2;
-
in
t l;
+
size_
t l;
if (line == NULL || keyword == NULL) {
return NULL;
if (line == NULL || keyword == NULL) {
return NULL;