summaryrefslogtreecommitdiffstats
path: root/sys-utils/dmesg.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 /sys-utils/dmesg.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 'sys-utils/dmesg.c')
-rw-r--r--sys-utils/dmesg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/dmesg.c b/sys-utils/dmesg.c
index 2aa904cab..033d2e5e8 100644
--- a/sys-utils/dmesg.c
+++ b/sys-utils/dmesg.c
@@ -359,7 +359,7 @@ static ssize_t read_file_buffer(struct dmesg_control *ctl,
int fd = open(filename, O_RDONLY);
if (fd < 0)
- err(EXIT_FAILURE, _("cannot open: %s"), filename);
+ err(EXIT_FAILURE, _("cannot open %s"), filename);
if (fstat(fd, &st))
err(EXIT_FAILURE, _("stat failed %s"), filename);