diff options
author | Karel Zak | 2017-05-18 11:39:34 +0200 |
---|---|---|
committer | Karel Zak | 2017-05-18 11:39:34 +0200 |
commit | 780ce22cdad01128139c1edfceb8f86338bf3dda (patch) | |
tree | bca21a46c58d6bf60ecaf59a4fa669c5a487d688 /disk-utils/partx.c | |
parent | tests: Fix UDF test output after changing UUID algorithm (diff) | |
download | kernel-qcow2-util-linux-780ce22cdad01128139c1edfceb8f86338bf3dda.tar.gz kernel-qcow2-util-linux-780ce22cdad01128139c1edfceb8f86338bf3dda.tar.xz kernel-qcow2-util-linux-780ce22cdad01128139c1edfceb8f86338bf3dda.zip |
misc: consolidate smartcols error messages
... just to keep translators happy
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/partx.c')
-rw-r--r-- | disk-utils/partx.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; } } |