aboutsummaryrefslogtreecommitdiffstats
path: root/disk-utils/cfdisk.c
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2015-12-07 12:23:26 +0100
committerKarel Zak <kzak@redhat.com>2015-12-07 12:23:26 +0100
commit717fff869e7e947d9b6655531c9ed6f5f500bc4c (patch)
treebc016d1ddcc11231d2963991cc58ff3b752a317a /disk-utils/cfdisk.c
parent05c1123bc3d3c4473397dcf73b2b9ef391950c3d (diff)
downloadutil-linux-717fff869e7e947d9b6655531c9ed6f5f500bc4c.tar.gz
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c
index a370a13186..d16766dc84 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++) {