aboutsummaryrefslogtreecommitdiff
path: root/coreutils/tail.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/tail.c')
-rw-r--r--coreutils/tail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/tail.c b/coreutils/tail.c
index 14ed85d16..1f458f9ed 100644
--- a/coreutils/tail.c
+++ b/coreutils/tail.c
@@ -89,7 +89,7 @@ static ssize_t tail_read(int fd, char *buf, size_t count)
89 89
90 r = full_read(fd, buf, count); 90 r = full_read(fd, buf, count);
91 if (r < 0) { 91 if (r < 0) {
92 bb_perror_msg(bb_msg_read_error); 92 bb_simple_perror_msg(bb_msg_read_error);
93 G.exitcode = EXIT_FAILURE; 93 G.exitcode = EXIT_FAILURE;
94 } 94 }
95 95
@@ -186,7 +186,7 @@ int tail_main(int argc, char **argv)
186 } while (++i < argc); 186 } while (++i < argc);
187 187
188 if (!nfiles) 188 if (!nfiles)
189 bb_error_msg_and_die("no files"); 189 bb_simple_error_msg_and_die("no files");
190 190
191 /* prepare the buffer */ 191 /* prepare the buffer */
192 tailbufsize = BUFSIZ; 192 tailbufsize = BUFSIZ;