projects
/
platform
/
upstream
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
don't pass argc in getopt32, it's superfluous
[platform/upstream/busybox.git]
/
coreutils
/
touch.c
diff --git
a/coreutils/touch.c
b/coreutils/touch.c
index
7b82339
..
7a1dd35
100644
(file)
--- a/
coreutils/touch.c
+++ b/
coreutils/touch.c
@@
-26,7
+26,7
@@
int touch_main(int argc, char **argv)
{
int fd;
int status = EXIT_SUCCESS;
- int flags = getopt32(arg
c, arg
v, "c");
+ int flags = getopt32(argv, "c");
argv += optind;