diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2004-12-09 17:30:59 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2004-12-09 17:30:59 +0000 |
commit | 80a0c3cdd03118f349d77bc67730e6be0e53a41e (patch) | |
tree | 689939af5499f3d6aa883e5effd764c3f6432740 /util | |
parent | c45d1a66b86c3e274113fdf30ab39ad2c2a69179 (diff) |
bugfix
Diffstat (limited to 'util')
-rw-r--r-- | util/fusermount.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |