diff options
Diffstat (limited to 'sys-utils/dmesg.c')
| -rw-r--r-- | sys-utils/dmesg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/dmesg.c b/sys-utils/dmesg.c index 9fc7982a1a..2aa904cab0 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) |
