summaryrefslogtreecommitdiffstats
path: root/mount/mount.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/mount.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/mount.c')
-rw-r--r--mount/mount.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mount/mount.c b/mount/mount.c
index c4955ffd3..3c4a10108 100644
--- a/mount/mount.c
+++ b/mount/mount.c
@@ -2484,6 +2484,10 @@ main(int argc, char *argv[]) {
printf("mount: eUID: %u\n", geteuid());
}
+#ifdef HAVE_LIBMOUNT_MOUNT
+ mnt_init_debug(0);
+#endif
+
argc -= optind;
argv += optind;