]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
cfdisk: use new libsmartcols functionality to fix output
authorKarel Zak <kzak@redhat.com>
Mon, 7 Dec 2015 11:23:26 +0000 (12:23 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 7 Dec 2015 11:23:26 +0000 (12:23 +0100)
Reported-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/cfdisk.c

index a370a131866a8339b975dc5e01d5fc02226f5e36..d16766dc84511145eff393921d76182d88e828ce 100644 (file)
@@ -354,6 +354,7 @@ static char *table_to_string(struct cfdisk *cf, struct fdisk_table *tb)
        if (!table)
                goto done;
        scols_table_enable_maxout(table, 1);
+       scols_table_enable_nowrap(table, 1);
 
        /* headers */
        for (i = 0; i < cf->nfields; i++) {