summaryrefslogtreecommitdiffstats
path: root/text-utils
diff options
context:
space:
mode:
Diffstat (limited to 'text-utils')
-rw-r--r--text-utils/more.c2
-rw-r--r--text-utils/tailf.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/text-utils/more.c b/text-utils/more.c
index 94b045506..4602cba97 100644
--- a/text-utils/more.c
+++ b/text-utils/more.c
@@ -595,7 +595,7 @@ FILE *checkf(register char *fs, int *clearfirst)
fflush(stdout);
if (clreol)
cleareol();
- warn(_("stat failed %s"), fs);
+ warn(_("stat of %s failed"), fs);
return ((FILE *)NULL);
}
if ((stbuf.st_mode & S_IFMT) == S_IFDIR) {
diff --git a/text-utils/tailf.c b/text-utils/tailf.c
index 6adb05037..38df99f6f 100644
--- a/text-utils/tailf.c
+++ b/text-utils/tailf.c
@@ -98,7 +98,7 @@ roll_file(const char *filename, off_t *size)
err(EXIT_FAILURE, _("cannot open %s"), filename);
if (fstat(fd, &st) == -1)
- err(EXIT_FAILURE, _("stat failed %s"), filename);
+ err(EXIT_FAILURE, _("stat of %s failed"), filename);
if (st.st_size == *size) {
close(fd);
@@ -278,7 +278,7 @@ int main(int argc, char **argv)
filename = argv[optind];
if (stat(filename, &st) != 0)
- err(EXIT_FAILURE, _("stat failed %s"), filename);
+ err(EXIT_FAILURE, _("stat of %s failed"), filename);
size = st.st_size;;
tailf(filename, lines);