From: Glenn L McGrath Date: Wed, 21 Nov 2001 10:01:29 +0000 (-0000) Subject: woops. dotn pass NULL X-Git-Tag: 0_60_3~206 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c29ab9709489a93ba5f740f3a47b96d3bc8ef705;p=oweals%2Fbusybox.git woops. dotn pass NULL --- diff --git a/coreutils/wc.c b/coreutils/wc.c index 728d725a3..94f1ee610 100644 --- a/coreutils/wc.c +++ b/coreutils/wc.c @@ -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) {