aboutsummaryrefslogtreecommitdiff
path: root/lib/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mount.c')
-rw-r--r--lib/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mount.c b/lib/mount.c
index fb9231a..111b32b 100644
--- a/lib/mount.c
+++ b/lib/mount.c
@@ -462,7 +462,7 @@ static int fuse_mount_sys(const char *mnt, struct mount_opts *mo,
if (!O_CLOEXEC)
fcntl(fd, F_SETFD, FD_CLOEXEC);
- snprintf(tmp, sizeof(tmp), "fd=%i,rootmode=%o,user_id=%i,group_id=%i",
+ snprintf(tmp, sizeof(tmp), "fd=%i,rootmode=%o,user_id=%u,group_id=%u",
fd, stbuf.st_mode & S_IFMT, getuid(), getgid());
res = fuse_opt_add_opt(&mo->kernel_opts, tmp);