summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/rev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util-linux/rev.c b/util-linux/rev.c
index d439b4d..63b005c 100644
--- a/util-linux/rev.c
+++ b/util-linux/rev.c
@@ -109,6 +109,7 @@ int rev_main(int argc UNUSED_PARAM, char **argv)
strrev(buf, strlen(buf));
#endif
fputs_stdout(buf);
+ pos = 0;
}
fclose(fp);
} while (*argv);