summaryrefslogtreecommitdiffstats
path: root/sys-utils/losetup.c
diff options
context:
space:
mode:
authorKarel Zak2014-06-06 13:47:06 +0200
committerKarel Zak2014-06-06 13:47:06 +0200
commit710ed55dcde95cad66a8f9bd2a7ecd223f14d653 (patch)
tree2509399f5d4b47bac3f1a9abc366e5a344ccd075 /sys-utils/losetup.c
parentmount: add btrfs to mount.8 (diff)
downloadkernel-qcow2-util-linux-710ed55dcde95cad66a8f9bd2a7ecd223f14d653.tar.gz
kernel-qcow2-util-linux-710ed55dcde95cad66a8f9bd2a7ecd223f14d653.tar.xz
kernel-qcow2-util-linux-710ed55dcde95cad66a8f9bd2a7ecd223f14d653.zip
libsmartcols: add 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, 2 insertions, 0 deletions
diff --git a/sys-utils/losetup.c b/sys-utils/losetup.c
index 6ad94be4c..b1fda7368 100644
--- a/sys-utils/losetup.c
+++ b/sys-utils/losetup.c
@@ -297,6 +297,8 @@ static int show_table(struct loopdev_cxt *lc,
struct libscols_line *ln;
int i, rc = 0;
+ scols_init_debug(0);
+
if (!(tb = scols_new_table()))
err(EXIT_FAILURE, _("failed to initialize output table"));
scols_table_enable_raw(tb, raw);