diff options
author | Karel Zak | 2011-03-30 13:00:03 +0200 |
---|---|---|
committer | Karel Zak | 2011-03-30 13:00:03 +0200 |
commit | 66bb8267103df6658ee984a89f1d8445f42d072e (patch) | |
tree | 821ab7bffcc6ca2f1e9f3240e4c4f4ce1ef9f1af /shlibs/mount/src/context_mount.c | |
parent | libmount: fix test (diff) | |
download | kernel-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.c | 2 |
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>")); |