From dc4dbbf188be91da4b13b29e04ae94f2f831e4ab Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 13 Jan 2012 16:27:50 +0100 Subject: libmount: allow to toggle ro/rw and mount again Signed-off-by: Karel Zak --- libmount/src/optstr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libmount/src/optstr.c') diff --git a/libmount/src/optstr.c b/libmount/src/optstr.c index 836838440..260dc26a8 100644 --- a/libmount/src/optstr.c +++ b/libmount/src/optstr.c @@ -652,7 +652,7 @@ int mnt_optstr_apply_flags(char **optstr, unsigned long flags, if (!optstr || !map) return -EINVAL; - DBG(CXT, mnt_debug("applying 0x%08lu flags '%s'", flags, *optstr)); + DBG(CXT, mnt_debug("applying 0x%08lu flags to '%s'", flags, *optstr)); maps[0] = map; next = *optstr; @@ -745,6 +745,7 @@ int mnt_optstr_apply_flags(char **optstr, unsigned long flags, } } + DBG(CXT, mnt_debug("new optstr '%s'", *optstr)); return rc; err: DBG(CXT, mnt_debug("failed to apply flags [rc=%d]", rc)); -- cgit v1.2.3-55-g7522