aboutsummaryrefslogtreecommitdiff
path: root/length.c
diff options
context:
space:
mode:
authorerik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-02-07 05:29:42 +0000
committererik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-02-07 05:29:42 +0000
commit74bc01e03e96d5a6a318688d2ee8c620f32ce928 (patch)
treedccf8f905fc5807239883da9fca6597037d487fc /length.c
parentcac2faf4271a09ae2e37e87cbd7d6ea363667d51 (diff)
downloadbusybox-w32-74bc01e03e96d5a6a318688d2ee8c620f32ce928.tar.gz
busybox-w32-74bc01e03e96d5a6a318688d2ee8c620f32ce928.tar.bz2
busybox-w32-74bc01e03e96d5a6a318688d2ee8c620f32ce928.zip
A few minor updates. ;-)
Seriously though, read the Changelog for busybox 0.42, which this is about to become... -Erik git-svn-id: svn://busybox.net/trunk/busybox@351 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'length.c')
-rw-r--r--length.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/length.c b/length.c
index 46242b529..2c83cdfd2 100644
--- a/length.c
+++ b/length.c
@@ -6,7 +6,7 @@
6extern int 6extern int
7length_main(int argc, char * * argv) 7length_main(int argc, char * * argv)
8{ 8{
9 if ( **(argv+1) == '-' ) { 9 if ( argc != 2 || **(argv+1) == '-' ) {
10 usage("length string\n"); 10 usage("length string\n");
11 } 11 }
12 printf("%d\n", strlen(argv[1])); 12 printf("%d\n", strlen(argv[1]));