summaryrefslogtreecommitdiffstats
path: root/disk-utils/delpart.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 /disk-utils/delpart.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 'disk-utils/delpart.c')
-rw-r--r--disk-utils/delpart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/disk-utils/delpart.c b/disk-utils/delpart.c
index 79925db89..e940e3bed 100644
--- a/disk-utils/delpart.c
+++ b/disk-utils/delpart.c
@@ -50,7 +50,7 @@ int main(int argc, char **argv)
if ((fd = open(argv[1], O_RDONLY)) < 0)
- err(EXIT_FAILURE, _("%s: open failed"), argv[1]);
+ err(EXIT_FAILURE, _("cannot open %s"), argv[1]);
if (partx_del_partition(fd,
strtou32_or_err(argv[2], _("invalid partition number argument"))))