summaryrefslogtreecommitdiffstats
path: root/text-utils/tailf.c
diff options
context:
space:
mode:
Diffstat (limited to 'text-utils/tailf.c')
-rw-r--r--text-utils/tailf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/text-utils/tailf.c b/text-utils/tailf.c
index 10589d8bc..9e77a2f09 100644
--- a/text-utils/tailf.c
+++ b/text-utils/tailf.c
@@ -99,7 +99,7 @@ roll_file(const char *filename, off_t *size)
err(EXIT_FAILURE, _("cannot open \"%s\" for read"), filename);
if (fstat(fd, &st) == -1)
- err(EXIT_FAILURE, _("cannot stat \"%s\""), filename);
+ err(EXIT_FAILURE, _("stat failed %s"), filename);
if (st.st_size == *size) {
close(fd);
@@ -277,7 +277,7 @@ int main(int argc, char **argv)
filename = argv[optind];
if (stat(filename, &st) != 0)
- err(EXIT_FAILURE, _("cannot stat \"%s\""), filename);
+ err(EXIT_FAILURE, _("stat failed %s"), filename);
size = st.st_size;;
tailf(filename, lines);