aboutsummaryrefslogtreecommitdiff
path: root/lib/mount_bsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mount_bsd.c')
-rw-r--r--lib/mount_bsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mount_bsd.c b/lib/mount_bsd.c
index aafde77..94a11f7 100644
--- a/lib/mount_bsd.c
+++ b/lib/mount_bsd.c
@@ -126,8 +126,8 @@ static int fuse_mount_opt_proc(void *data, const char *arg, int key,
void fuse_kern_unmount(const char *mountpoint, int fd)
{
- unmount(mountpoint, MNT_FORCE);
close(fd);
+ unmount(mountpoint, MNT_FORCE);
}
/* Check if kernel is doing init in background */