aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-03-27 02:36:02 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-03-27 02:36:02 +0000
commit3603cd2808b3025460f2ad920d4622ed17194a32 (patch)
tree5b96941534dcacce561b7fb739d7d81f182b1146
parentbfc0fae95238a5fd72728ea7547fdeb27f864060 (diff)
downloadbusybox-w32-3603cd2808b3025460f2ad920d4622ed17194a32.tar.gz
busybox-w32-3603cd2808b3025460f2ad920d4622ed17194a32.tar.bz2
busybox-w32-3603cd2808b3025460f2ad920d4622ed17194a32.zip
tail: fix tail +N syntax not working. Closes bug 221.
-rw-r--r--coreutils/tail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/tail.c b/coreutils/tail.c
index 2505fc3a6..5dae2d35b 100644
--- a/coreutils/tail.c
+++ b/coreutils/tail.c
@@ -104,7 +104,7 @@ int tail_main(int argc, char **argv)
104 if (argv[1] && (argv[1][0] == '+' || argv[1][0] == '-') 104 if (argv[1] && (argv[1][0] == '+' || argv[1][0] == '-')
105 && isdigit(argv[1][1]) 105 && isdigit(argv[1][1])
106 ) { 106 ) {
107 count = eat_num(&argv[1][1]); 107 count = eat_num(argv[1]);
108 argv++; 108 argv++;
109 argc--; 109 argc--;
110 } 110 }