chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b8ca452
)
Cope with missing mtab better.
author
Richard Kettlewell
<rjk@greenend.org.uk>
Sat, 12 Feb 2011 14:59:14 +0000
(14:59 +0000)
committer
Richard Kettlewell
<rjk@greenend.org.uk>
Sat, 12 Feb 2011 14:59:14 +0000
(14:59 +0000)
server/mount.c
patch
|
blob
|
blame
|
history
diff --git
a/server/mount.c
b/server/mount.c
index 8b1c60245e1ef649f540882196f2b74329348ad6..fff1feb5a62f906763152138891bc0645d7bf08d 100644
(file)
--- a/
server/mount.c
+++ b/
server/mount.c
@@
-40,6
+40,7
@@
static int compare_fsstat(const void *av, const void *bv) {
}
#endif
}
#endif
+#if HAVE_GETFSSTAT || defined PATH_MTAB
void periodic_mount_check(ev_source *ev_) {
if(!config->mount_rescan)
return;
void periodic_mount_check(ev_source *ev_) {
if(!config->mount_rescan)
return;
@@
-88,6
+89,10
@@
void periodic_mount_check(ev_source *ev_) {
}
#endif
}
}
#endif
}
+#else
+void periodic_mount_check(ev_source attribute((unused)) *ev_ ) {
+}
+#endif
/*
Local Variables:
/*
Local Variables: