From 3c7d41bd13e48abe622ff0eec97ab716d74484a2 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Sun, 9 Jan 2005 20:05:27 +0000 Subject: fix --- util/fusermount.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util') 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) { -- cgit v1.2.3