summaryrefslogtreecommitdiffstats
path: root/daemon/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/mount.c')
-rw-r--r--daemon/mount.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/daemon/mount.c b/daemon/mount.c
index 5e74ce8f..293353db 100644
--- a/daemon/mount.c
+++ b/daemon/mount.c
@@ -327,7 +327,8 @@ do_umount_all (void)
struct mntent *m;
DECLARE_STRINGSBUF (mounts);
char *err;
- int i, r;
+ size_t i;
+ int r;
/* NB: Eventually we should aim to parse /proc/self/mountinfo, but
* that requires custom parsing code.