mirror of https://github.com/mirror/busybox.git
woops. dotn pass NULL
parent
1477ad8e83
commit
c29ab97094
|
@ -139,7 +139,7 @@ int wc_main(int argc, char **argv)
|
|||
}
|
||||
|
||||
if (argv[optind] == NULL || strcmp(argv[optind], "-") == 0) {
|
||||
wc_file(stdin, NULL);
|
||||
wc_file(stdin, "");
|
||||
return EXIT_SUCCESS;
|
||||
} else {
|
||||
while (optind < argc) {
|
||||
|
|
Loading…
Reference in New Issue