From 80a0c3cdd03118f349d77bc67730e6be0e53a41e Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Thu, 9 Dec 2004 17:30:59 +0000 Subject: bugfix --- util/fusermount.c | 1 + 1 file changed, 1 insertion(+) (limited to 'util') diff --git a/util/fusermount.c b/util/fusermount.c index 86b7c6c..77e808e 100644 --- a/util/fusermount.c +++ b/util/fusermount.c @@ -478,6 +478,7 @@ static int do_mount(const char *mnt, const char *type, mode_t rootmode, if (*s) s++; } + *d = '\0'; res = get_mnt_opts(flags, optbuf, &mnt_opts); if (res == -1) { free(mnt_opts); -- cgit v1.2.3