From 780ce22cdad01128139c1edfceb8f86338bf3dda Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 18 May 2017 11:39:34 +0200 Subject: misc: consolidate smartcols error messages ... just to keep translators happy Signed-off-by: Karel Zak --- disk-utils/partx.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'disk-utils/partx.c') diff --git a/disk-utils/partx.c b/disk-utils/partx.c index cc00b24bc..941fc46aa 100644 --- a/disk-utils/partx.c +++ b/disk-utils/partx.c @@ -578,7 +578,7 @@ static int add_scols_line(struct libscols_table *table, blkid_partition par) line = scols_table_new_line(table, NULL); if (!line) { - warn(_("failed to add line to output")); + warn(_("failed to allocate output line")); return -ENOMEM; } @@ -641,7 +641,7 @@ static int add_scols_line(struct libscols_table *table, blkid_partition par) else if (str) rc = scols_line_refer_data(line, i, str); if (rc) { - warn(_("failed to add data to output table")); + warn(_("failed to add output data")); break; } } @@ -664,7 +664,7 @@ static int show_parts(blkid_partlist ls, int scols_flags, int lower, int upper) scols_init_debug(0); table = scols_new_table(); if (!table) { - warn(_("failed to initialize output table")); + warn(_("failed to allocate output table")); return -1; } scols_table_enable_raw(table, !!(scols_flags & PARTX_RAW)); @@ -675,7 +675,7 @@ static int show_parts(blkid_partlist ls, int scols_flags, int lower, int upper) struct colinfo *col = get_column_info(i); if (!scols_table_new_column(table, col->name, col->whint, col->flags)) { - warnx(_("failed to initialize output column")); + warnx(_("failed to allocate output column")); goto done; } } -- cgit v1.2.3-55-g7522