--- mount/mount.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/mount/mount.c b/mount/mount.c index 2be43ab..aa68237 100644 --- a/mount/mount.c +++ b/mount/mount.c @@ -1460,13 +1460,15 @@ try_mount_one (const char *spec0, const char *node0, const char *types0, /* Mount succeeded, report this (if verbose) and write mtab entry. */ if (!(mounttype & MS_PROPAGATION)) { + char *mtab_opts = fix_opts_string (flags & ~MS_NOMTAB, extra_opts, user); update_mtab_entry(loop ? loopfile : spec, canonicalized_node, types ? types : "unknown", - fix_opts_string (flags & ~MS_NOMTAB, extra_opts, user), + mtab_opts, flags, freq, pass); + free (mtab_opts); } block_signals (SIG_UNBLOCK); -- 1.6.4.2 Petr -- Petr Uzel IRC: ptr_uzl @ freenode
Attachment:
pgpV3aZ0xzAk3.pgp
Description: PGP signature