summaryrefslogtreecommitdiffstats
path: root/mount/umount.c
diff options
context:
space:
mode:
authorKarel Zak2010-12-21 09:55:25 +0100
committerKarel Zak2011-01-03 12:28:48 +0100
commit803f844a1097d9f5d028bc6f28ea838e1e3f2c50 (patch)
treec5b6e555da6141c25ef1d89d75723d190ab88a73 /mount/umount.c
parentlibmount: don't use NULL pointer in mntenv (diff)
downloadkernel-qcow2-util-linux-803f844a1097d9f5d028bc6f28ea838e1e3f2c50.tar.gz
kernel-qcow2-util-linux-803f844a1097d9f5d028bc6f28ea838e1e3f2c50.tar.xz
kernel-qcow2-util-linux-803f844a1097d9f5d028bc6f28ea838e1e3f2c50.zip
mount: add mnt_init_debug()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount/umount.c')
-rw-r--r--mount/umount.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mount/umount.c b/mount/umount.c
index 6e24779b4..e76265381 100644
--- a/mount/umount.c
+++ b/mount/umount.c
@@ -738,6 +738,9 @@ main (int argc, char *argv[]) {
atexit(unlock_mtab);
+#ifdef HAVE_LIBMOUNT_MOUNT
+ mnt_init_debug(0);
+#endif
if (all) {
/* nodev stuff: sysfs, usbfs, oprofilefs, ... */
if (types == NULL)