From 3603cd2808b3025460f2ad920d4622ed17194a32 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 27 Mar 2009 02:36:02 +0000 Subject: tail: fix tail +N syntax not working. Closes bug 221. --- coreutils/tail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils/tail.c') 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--; } -- cgit v1.2.3