aboutsummaryrefslogtreecommitdiff
path: root/toys/other/rev.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/other/rev.c')
-rw-r--r--toys/other/rev.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/toys/other/rev.c b/toys/other/rev.c
index 8cad7da3..b5720a31 100644
--- a/toys/other/rev.c
+++ b/toys/other/rev.c
@@ -29,7 +29,6 @@ void do_rev(int fd, char *name)
c[i] = c[len-i];
c[len-i] = tmp;
- i++;
}
xputs(c);
free(c);