summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/context_mount.c
diff options
context:
space:
mode:
authorKarel Zak2011-03-30 13:00:03 +0200
committerKarel Zak2011-03-30 13:00:03 +0200
commit66bb8267103df6658ee984a89f1d8445f42d072e (patch)
tree821ab7bffcc6ca2f1e9f3240e4c4f4ce1ef9f1af /shlibs/mount/src/context_mount.c
parentlibmount: fix test (diff)
downloadkernel-qcow2-util-linux-66bb8267103df6658ee984a89f1d8445f42d072e.tar.gz
kernel-qcow2-util-linux-66bb8267103df6658ee984a89f1d8445f42d072e.tar.xz
kernel-qcow2-util-linux-66bb8267103df6658ee984a89f1d8445f42d072e.zip
libmount: use chdir() and NOFOLLOW umount flag for umount operation
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/context_mount.c')
-rw-r--r--shlibs/mount/src/context_mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shlibs/mount/src/context_mount.c b/shlibs/mount/src/context_mount.c
index eaba33c05..58c3ec10e 100644
--- a/shlibs/mount/src/context_mount.c
+++ b/shlibs/mount/src/context_mount.c
@@ -392,7 +392,7 @@ static int do_mount(struct libmnt_context *cxt, const char *try_type)
DBG(CXT, mnt_debug_h(cxt, "%smount(2) "
"[source=%s, target=%s, type=%s, "
- " mountflags=%08lx, mountdata=%s]",
+ " mountflags=0x%08lx, mountdata=%s]",
(cxt->flags & MNT_FL_FAKE) ? "(FAKE) " : "",
src, target, type,
flags, cxt->mountdata ? "yes" : "<none>"));