use bb_xbind/bb_xlisten
[oweals/busybox.git] / coreutils / tail.c
index 48abc4b847c7460b278fc5b0ae89a34c2a6f9118..e63406e3155631d1045cd43889718b28202fa6e5 100644 (file)
@@ -70,7 +70,7 @@ static ssize_t tail_read(int fd, char *buf, size_t count)
                end = sbuf.st_size;
        lseek(fd, end < current ? 0 : current, SEEK_SET);
        if ((r = safe_read(fd, buf, count)) < 0) {
-               bb_perror_msg("read");
+               bb_perror_msg(bb_msg_read_error);
                status = EXIT_FAILURE;
        }