The hardcoded column width of 10 in print_table() is not enough, as the currently longest table entry to be printed has 12 characters. Signed-off-by: Tilman Schmidt <tilman@xxxxxxx> --- sys-utils/ldattach.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-utils/ldattach.c b/sys-utils/ldattach.c index 33c7aa2..5317d22 100644 --- a/sys-utils/ldattach.c +++ b/sys-utils/ldattach.c @@ -161,8 +161,8 @@ static void print_table(FILE * out, const struct ld_table *tab) int i; for (t = tab, i = 1; t && t->name; t++, i++) { - fprintf(out, " %-10s", t->name); - if (!(i % 6)) + fprintf(out, " %-12s", t->name); + if (!(i % 5)) fputc('\n', out); } } -- 1.9.2.459.g68773ac -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html