summaryrefslogtreecommitdiffstats
path: root/sys-utils/dmesg.c
diff options
context:
space:
mode:
authorSami Kerola2012-07-15 10:17:53 +0200
committerKarel Zak2012-07-16 18:18:22 +0200
commitadd1b8afd0d836039d9adcc29f53ba6136a66b09 (patch)
tree1810f35135749e943b36c93cba296e3e917bed54 /sys-utils/dmesg.c
parentutmpdump: use help and version output macros (diff)
downloadkernel-qcow2-util-linux-add1b8afd0d836039d9adcc29f53ba6136a66b09.tar.gz
kernel-qcow2-util-linux-add1b8afd0d836039d9adcc29f53ba6136a66b09.tar.xz
kernel-qcow2-util-linux-add1b8afd0d836039d9adcc29f53ba6136a66b09.zip
translation: unify stat 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 9fc7982a1..2aa904cab 100644
--- a/sys-utils/dmesg.c
+++ b/sys-utils/dmesg.c
@@ -361,7 +361,7 @@ static ssize_t read_file_buffer(struct dmesg_control *ctl,
if (fd < 0)
err(EXIT_FAILURE, _("cannot open: %s"), filename);
if (fstat(fd, &st))
- err(EXIT_FAILURE, _("cannot stat: %s"), filename);
+ err(EXIT_FAILURE, _("stat failed %s"), filename);
*buf = mmap(NULL, st.st_size, PROT_READ, MAP_SHARED, fd, 0);
if (*buf == MAP_FAILED)