summaryrefslogtreecommitdiff
path: root/head.c
diff options
context:
space:
mode:
authorErik Andersen2000-01-25 18:13:53 +0000
committerErik Andersen2000-01-25 18:13:53 +0000
commit3fe39dce5d1a0b0946878c66bbd7f694c5aa38ea (patch)
tree32b6129967a8b5c922b72843efc7fc6683287181 /head.c
parentbf3a838aaca4ab34d2739438fa44d0dbb04e9862 (diff)
downloadbusybox-3fe39dce5d1a0b0946878c66bbd7f694c5aa38ea.zip
busybox-3fe39dce5d1a0b0946878c66bbd7f694c5aa38ea.tar.gz
Some busybox updates. See the changelog for details if you care.
-Erik
Diffstat (limited to 'head.c')
-rw-r--r--head.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/head.c b/head.c
index 4e58bdc..bc7f354 100644
--- a/head.c
+++ b/head.c
@@ -61,7 +61,7 @@ head_main(int argc, char **argv)
switch (opt) {
case 'n':
tmplen = 0;
- if (i++ < argc)
+ if (++i < argc)
tmplen = atoi(argv[i]);
if (tmplen < 1)
usage(head_usage);
@@ -105,4 +105,4 @@ head_main(int argc, char **argv)
exit(0);
}
-/* $Id: head.c,v 1.5 2000/01/23 18:19:02 erik Exp $ */
+/* $Id: head.c,v 1.6 2000/01/25 18:13:53 erik Exp $ */