aboutsummaryrefslogtreecommitdiff
path: root/toys/other
diff options
context:
space:
mode:
authorElie De Brauwer <eliedebrauwer@gmail.com>2012-12-22 11:44:21 +0100
committerElie De Brauwer <eliedebrauwer@gmail.com>2012-12-22 11:44:21 +0100
commit7d01b3180735273710d63bd58b90748f4ecf21da (patch)
treec755da319b6e5be9a4d65173606458344b2d70a4 /toys/other
parent8390c65cea50f76af7efc80e14c71ed0e440d343 (diff)
downloadtoybox-7d01b3180735273710d63bd58b90748f4ecf21da.tar.gz
Refactoring broke rev
Diffstat (limited to 'toys/other')
-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);