]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libsmartcols: fix padding
authorKarel Zak <kzak@redhat.com>
Mon, 14 Apr 2014 14:59:44 +0000 (16:59 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 14 Apr 2014 14:59:44 +0000 (16:59 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols/src/table_print.c

index 082cc0bf35d46814f37a0fa6160080e165a01edb..91cff930f09c67a8e9cd7cb117430ebf91c277e7 100644 (file)
@@ -186,7 +186,7 @@ static int print_data(struct libscols_table *tb,
                }
        }
        for (i = len; i < width; i++)
-               fputs(colsep(tb), tb->out);             /* padding */
+               fputs(" ", tb->out);            /* padding */
 
        if (!is_last_column(tb, cl)) {
                if (len > width && !scols_column_is_trunc(cl)) {