projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfc0fae
)
tail: fix tail +N syntax not working. Closes bug 221.
author
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 27 Mar 2009 02:36:02 +0000
(
02:36
-0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 27 Mar 2009 02:36:02 +0000
(
02:36
-0000)
coreutils/tail.c
patch
|
blob
|
history
diff --git
a/coreutils/tail.c
b/coreutils/tail.c
index 2505fc3a604d5c9bf1417350334b41c67e890ff9..5dae2d35b124ff0393d6571a935882fa062f8c4a 100644
(file)
--- 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--;
}