From: Denis Vlasenko Date: Fri, 27 Mar 2009 02:36:02 +0000 (-0000) Subject: tail: fix tail +N syntax not working. Closes bug 221. X-Git-Tag: 1_14_0~190 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3603cd2808b3025460f2ad920d4622ed17194a32;p=oweals%2Fbusybox.git tail: fix tail +N syntax not working. Closes bug 221. --- 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) if (argv[1] && (argv[1][0] == '+' || argv[1][0] == '-') && isdigit(argv[1][1]) ) { - count = eat_num(&argv[1][1]); + count = eat_num(argv[1]); argv++; argc--; }