aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Nikolaus Rath <Nikolaus@rath.org>2017-08-11 10:31:24 +0200
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2017-08-11 10:32:39 +0200
commitd7ab8be330747d12c00e738f1aff5c0f0e332f7a (patch)
tree54de6e985d55f2f9e667d9ba977749abc4a38187 /lib
parent8771b17229c0b19f74789455913b10c1c5eaa320 (diff)
fuse_kern_unmount(): fix variable type.
Diffstat (limited to 'lib')
-rw-r--r--lib/mount_bsd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mount_bsd.c b/lib/mount_bsd.c
index 5962e64..aafde77 100644
--- a/lib/mount_bsd.c
+++ b/lib/mount_bsd.c
@@ -133,7 +133,8 @@ void fuse_kern_unmount(const char *mountpoint, int fd)
/* Check if kernel is doing init in background */
static int init_backgrounded(void)
{
- unsigned ibg, len;
+ unsigned ibg;
+ size_t len;
len = sizeof(ibg);