summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKarel Zak2010-04-16 14:59:10 +0200
committerKarel Zak2010-06-03 15:20:13 +0200
commite7baa9710507aab9440e3a7bc61830897f465dd7 (patch)
tree782684c28e85fbb7a82e8bba9299c8ad04d0b75f /lib
parentfindmnt: add {fs,vfs}-options columns (diff)
downloadkernel-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.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/tt.c b/lib/tt.c
index beb04311f..7d87bf54e 100644
--- a/lib/tt.c
+++ b/lib/tt.c
@@ -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;
}