aboutsummaryrefslogtreecommitdiff
path: root/coreutils/head.c
diff options
context:
space:
mode:
authorerik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-01-25 18:13:53 +0000
committererik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-01-25 18:13:53 +0000
commit67c5194a104e193ec26bad4013c2a9aa9d73312f (patch)
tree32b6129967a8b5c922b72843efc7fc6683287181 /coreutils/head.c
parent7a5c6a597d9863949fff0a7044ac076aea2d41b2 (diff)
downloadbusybox-w32-67c5194a104e193ec26bad4013c2a9aa9d73312f.tar.gz
busybox-w32-67c5194a104e193ec26bad4013c2a9aa9d73312f.tar.bz2
busybox-w32-67c5194a104e193ec26bad4013c2a9aa9d73312f.zip
Some busybox updates. See the changelog for details if you care.
-Erik git-svn-id: svn://busybox.net/trunk/busybox@338 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/head.c')
-rw-r--r--coreutils/head.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/head.c b/coreutils/head.c
index 4e58bdcd7..bc7f35429 100644
--- a/coreutils/head.c
+++ b/coreutils/head.c
@@ -61,7 +61,7 @@ head_main(int argc, char **argv)
61 switch (opt) { 61 switch (opt) {
62 case 'n': 62 case 'n':
63 tmplen = 0; 63 tmplen = 0;
64 if (i++ < argc) 64 if (++i < argc)
65 tmplen = atoi(argv[i]); 65 tmplen = atoi(argv[i]);
66 if (tmplen < 1) 66 if (tmplen < 1)
67 usage(head_usage); 67 usage(head_usage);
@@ -105,4 +105,4 @@ head_main(int argc, char **argv)
105 exit(0); 105 exit(0);
106} 106}
107 107
108/* $Id: head.c,v 1.5 2000/01/23 18:19:02 erik Exp $ */ 108/* $Id: head.c,v 1.6 2000/01/25 18:13:53 erik Exp $ */