aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/fusermount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/fusermount.c b/util/fusermount.c
index 0330cf9..cd98ab5 100644
--- a/util/fusermount.c
+++ b/util/fusermount.c
@@ -199,7 +199,7 @@ static int remove_mount(const char *mnt, int quiet, const char *mtab,
strcmp(p + 5, user) == 0)
removed = 1;
/* /etc/mtab is a link pointing to /proc/mounts: */
- else if ((p = strstr(entp->mnt_opts, "user_id=")) &&
+ else if ((p = strstr(entp->mnt_opts, "user_id=")) &&
(p == entp->mnt_opts || *(p-1) == ',') &&
strncmp(p + 8, uidstr, uidlen) == 0 &&
(*(p+8+uidlen) == ',' || *(p+8+uidlen) == '\0'))