diff options
author | Karel Zak | 2010-04-16 14:59:10 +0200 |
---|---|---|
committer | Karel Zak | 2010-06-03 15:20:13 +0200 |
commit | e7baa9710507aab9440e3a7bc61830897f465dd7 (patch) | |
tree | 782684c28e85fbb7a82e8bba9299c8ad04d0b75f /lib | |
parent | findmnt: add {fs,vfs}-options columns (diff) | |
download | kernel-qcow2-util-linux-e7baa9710507aab9440e3a7bc61830897f465dd7.tar.gz kernel-qcow2-util-linux-e7baa9710507aab9440e3a7bc61830897f465dd7.tar.xz kernel-qcow2-util-linux-e7baa9710507aab9440e3a7bc61830897f465dd7.zip |
lib: remove unwanted debug messages
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tt.c | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -388,9 +388,6 @@ static void recount_widths(struct tt *tb, char *buf, size_t bufsz) if (cl->width < len) cl->width = len; - -fprintf(stderr, "KZAK: 1: %s = %d\n", cl->name, cl->width); - } } @@ -409,9 +406,6 @@ fprintf(stderr, "KZAK: 1: %s = %d\n", cl->name, cl->width); cl->width = (int) cl->width_hint; width += cl->width + (is_last_column(tb, cl) ? 0 : 1); - -fprintf(stderr, "KZAK: 2: %s = %d\n", cl->name, cl->width); - } if (width == tb->termwidth) @@ -460,7 +454,7 @@ fprintf(stderr, "KZAK: 2: %s = %d\n", cl->name, cl->width); } } leave: -///* +/* fprintf(stderr, "terminal: %d, output: %d\n", tb->termwidth, width); list_for_each(p, &tb->tb_columns) { @@ -472,7 +466,7 @@ leave: cl->width_hint > 1 ? (int) cl->width_hint : (int) (cl->width_hint * tb->termwidth)); } -//*/ +*/ return; } |