diff options
author | Karel Zak | 2015-12-07 12:23:26 +0100 |
---|---|---|
committer | Karel Zak | 2015-12-07 12:23:26 +0100 |
commit | 717fff869e7e947d9b6655531c9ed6f5f500bc4c (patch) | |
tree | bc016d1ddcc11231d2963991cc58ff3b752a317a /disk-utils/cfdisk.c | |
parent | libsmartcols: don't use fprintf() when count cells (diff) | |
download | kernel-qcow2-util-linux-717fff869e7e947d9b6655531c9ed6f5f500bc4c.tar.gz kernel-qcow2-util-linux-717fff869e7e947d9b6655531c9ed6f5f500bc4c.tar.xz kernel-qcow2-util-linux-717fff869e7e947d9b6655531c9ed6f5f500bc4c.zip |
cfdisk: use new libsmartcols functionality to fix output
Reported-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/cfdisk.c')
-rw-r--r-- | disk-utils/cfdisk.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c index a370a1318..d16766dc8 100644 --- a/disk-utils/cfdisk.c +++ b/disk-utils/cfdisk.c @@ -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++) { |