summaryrefslogtreecommitdiffstats
path: root/libsmartcols
diff options
context:
space:
mode:
authorKarel Zak2017-04-11 13:48:41 +0200
committerKarel Zak2017-05-02 12:18:00 +0200
commit7e2a4ef700e2f49ad58e0c4c1f419a6cadd5f77c (patch)
treee1cb7ae3a487315df1ae55d32cd294524142f044 /libsmartcols
parentcolumn: force to follow specified width (diff)
downloadkernel-qcow2-util-linux-7e2a4ef700e2f49ad58e0c4c1f419a6cadd5f77c.tar.gz
kernel-qcow2-util-linux-7e2a4ef700e2f49ad58e0c4c1f419a6cadd5f77c.tar.xz
kernel-qcow2-util-linux-7e2a4ef700e2f49ad58e0c4c1f419a6cadd5f77c.zip
libsmartcols: add debug mesg to see width change
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libsmartcols')
-rw-r--r--libsmartcols/src/table.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsmartcols/src/table.c b/libsmartcols/src/table.c
index cb20544a7..50288d606 100644
--- a/libsmartcols/src/table.c
+++ b/libsmartcols/src/table.c
@@ -1409,6 +1409,7 @@ int scols_table_get_termforce(const struct libscols_table *tb)
*/
int scols_table_set_termwidth(struct libscols_table *tb, size_t width)
{
+ DBG(TAB, ul_debugobj(tb, "set terminatl width: %zu", width));
tb->termwidth = width;
return 0;
}