From c388a3ab26bdd19a10c02dbb24981e6f482d0958 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Wed, 18 Mar 2009 11:56:42 -0700 Subject: [PATCH] Remove useless EOL white space padding from `splat -l` command. --- cmd/splat.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cmd/splat.c b/cmd/splat.c index 9b2bb417a9..3fefe9739b 100644 --- a/cmd/splat.c +++ b/cmd/splat.c @@ -339,11 +339,10 @@ static void test_list(List l, int indent) i = list_iterator_create(l); while ((test = list_next(i))) - fprintf(stdout, "%*s0x%0*x %-*s %-*s\n", - indent, "", - 04, test->test_desc.id, + fprintf(stdout, "%*s0x%0*x %-*s %s\n", + indent, "", 04, test->test_desc.id, SPLAT_NAME_SIZE, test->test_desc.name, - SPLAT_DESC_SIZE, test->test_desc.desc); + test->test_desc.desc); list_iterator_destroy(i); }