summaryrefslogtreecommitdiffstats
path: root/fdisks/cfdisk.c
diff options
context:
space:
mode:
authorSami Kerola2012-07-15 10:39:57 +0200
committerKarel Zak2012-07-16 18:18:22 +0200
commit289dcc90234680063a336925a99d1ef04e97cbda (patch)
treecb8656c16143daa406ea9d706406ca12d94d89d3 /fdisks/cfdisk.c
parenttranslation: unify stat error messages (diff)
downloadkernel-qcow2-util-linux-289dcc90234680063a336925a99d1ef04e97cbda.tar.gz
kernel-qcow2-util-linux-289dcc90234680063a336925a99d1ef04e97cbda.tar.xz
kernel-qcow2-util-linux-289dcc90234680063a336925a99d1ef04e97cbda.zip
translation: unify file open error messages
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'fdisks/cfdisk.c')
-rw-r--r--fdisks/cfdisk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fdisks/cfdisk.c b/fdisks/cfdisk.c
index 967a1034c..0ceed33ba 100644
--- a/fdisks/cfdisk.c
+++ b/fdisks/cfdisk.c
@@ -1820,7 +1820,7 @@ print_raw_table(void) {
if ((fp = fopen(fname, "w")) == NULL) {
char errstr[LINE_LENGTH];
snprintf(errstr, sizeof(errstr),
- _("Cannot open file '%s'"), fname);
+ _("cannot open %s"), fname);
print_warning(errstr);
return;
}
@@ -1938,7 +1938,7 @@ print_p_info(void) {
if (to_file) {
if ((fp = fopen(fname, "w")) == NULL) {
char errstr[LINE_LENGTH];
- snprintf(errstr, LINE_LENGTH, _("Cannot open file '%s'"), fname);
+ snprintf(errstr, LINE_LENGTH, _("cannot open %s"), fname);
print_warning(errstr);
return;
}
@@ -2022,7 +2022,7 @@ print_part_table(void) {
if (to_file) {
if ((fp = fopen(fname, "w")) == NULL) {
char errstr[LINE_LENGTH];
- snprintf(errstr, LINE_LENGTH, _("Cannot open file '%s'"), fname);
+ snprintf(errstr, LINE_LENGTH, _("cannot open %s"), fname);
print_warning(errstr);
return;
}