code-style: minor cleanup and nitpicking

This commit is contained in:
Hiltjo Posthuma
2015-02-20 13:28:24 +01:00
parent 6c7ff5fda5
commit 31f0624f3d
8 changed files with 20 additions and 20 deletions

2
tail.c
View File

@@ -130,7 +130,7 @@ main(int argc, char *argv[])
if (fflag && argc == 1) {
tmp = NULL;
tmpsize = 0;
for(;;) {
for (;;) {
while (getline(&tmp, &tmpsize, fp) != -1) {
fputs(tmp, stdout);
fflush(stdout);