]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libsmartcols: add debug mesg to see width change
authorKarel Zak <kzak@redhat.com>
Tue, 11 Apr 2017 11:48:41 +0000 (13:48 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 2 May 2017 10:18:00 +0000 (12:18 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols/src/table.c

index cb20544a764445822e041ffa2781b24a7c467bda..50288d6067e1b6e0022e973766db8f1c380df461 100644 (file)
@@ -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;
 }