summaryrefslogtreecommitdiffstats
path: root/disk-utils/partx.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 /disk-utils/partx.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 'disk-utils/partx.c')
-rw-r--r--disk-utils/partx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/disk-utils/partx.c b/disk-utils/partx.c
index 830af1f32..bf5a4abf7 100644
--- a/disk-utils/partx.c
+++ b/disk-utils/partx.c
@@ -626,6 +626,7 @@ static int show_parts(blkid_partlist ls, int scols_flags, int lower, int upper)
if (!nparts)
return 0;
+ scols_init_debug(0);
table = scols_new_table();
if (!table) {
warn(_("failed to initialize output table"));