summaryrefslogtreecommitdiffstats
path: root/sys-utils/losetup.c
diff options
context:
space:
mode:
authorKarel Zak2012-10-17 11:42:21 +0200
committerKarel Zak2012-10-17 11:42:21 +0200
commitf4bf95926a5a4cda9328154f3804f0b6f542897d (patch)
tree43192ec8535f448003f13fbc300ffe4815a885ed /sys-utils/losetup.c
parentdmesg: Add a --color option to colorize error and panic messages (diff)
downloadkernel-qcow2-util-linux-f4bf95926a5a4cda9328154f3804f0b6f542897d.tar.gz
kernel-qcow2-util-linux-f4bf95926a5a4cda9328154f3804f0b6f542897d.tar.xz
kernel-qcow2-util-linux-f4bf95926a5a4cda9328154f3804f0b6f542897d.zip
lib/loopdev: improve debug messages
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/losetup.c')
-rw-r--r--sys-utils/losetup.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys-utils/losetup.c b/sys-utils/losetup.c
index 38ccc7d08..bd0f16118 100644
--- a/sys-utils/losetup.c
+++ b/sys-utils/losetup.c
@@ -247,8 +247,6 @@ int main(int argc, char **argv)
if (loopcxt_init(&lc, 0))
err(EXIT_FAILURE, _("failed to initialize loopcxt"));
- loopcxt_enable_debug(&lc, getenv("LOOPDEV_DEBUG") ? TRUE : FALSE);
-
while ((c = getopt_long(argc, argv, "ac:d:De:E:fhj:o:p:PrvV",
longopts, NULL)) != -1) {