From 2bb750e71cc0bb04bcf7e76e0069d72c866630fb Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Mon, 3 Oct 2005 14:54:24 +0000 Subject: trailing whitespace fix --- util/fusermount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') 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')) -- cgit v1.2.3