aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/tail.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/coreutils/tail.c b/coreutils/tail.c
index b18064a38..e3f89d2ee 100644
--- a/coreutils/tail.c
+++ b/coreutils/tail.c
@@ -228,6 +228,7 @@ int tail_main(int argc, char **argv)
buf = tailbuf;
taillen = 0;
seen = 1;
+ newline = 0;
while ((nread = tail_read(fds[i], buf, tailbufsize-taillen)) > 0) {
if (from_top) {