aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorGravatar Miklos Szeredi <miklos@szeredi.hu>2005-01-09 20:05:27 +0000
committerGravatar Miklos Szeredi <miklos@szeredi.hu>2005-01-09 20:05:27 +0000
commit3c7d41bd13e48abe622ff0eec97ab716d74484a2 (patch)
tree996b962d7b94bfb687d14557904f437782467c1f /util
parent64107a63bef661b0ba53744bed84f7cd89c84c93 (diff)
fix
Diffstat (limited to 'util')
-rw-r--r--util/fusermount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/fusermount.c b/util/fusermount.c
index 0686d7a..0ab5d4c 100644
--- a/util/fusermount.c
+++ b/util/fusermount.c
@@ -460,7 +460,7 @@ static int do_mount(const char *mnt, const char *type, mode_t rootmode,
fsname[len - fsname_str_len] = '\0';
} else if (!begins_with(s, "fd=") &&
!begins_with(s, "rootmode=") &&
- !begins_with(s, "uid=")) {
+ !begins_with(s, "user_id=")) {
int on;
int flag;
int skip_option = 0;
@@ -501,7 +501,7 @@ static int do_mount(const char *mnt, const char *type, mode_t rootmode,
free(optbuf);
return -1;
}
- sprintf(d, "fd=%i,rootmode=%o,uid=%i", fd, rootmode, getuid());
+ sprintf(d, "fd=%i,rootmode=%o,user_id=%i", fd, rootmode, getuid());
if (fsname == NULL) {
fsname = strdup(dev);
if (!fsname) {