diff options
-rw-r--r-- | coreutils/wc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
139 | } | 139 | } |
140 | 140 | ||
141 | if (argv[optind] == NULL || strcmp(argv[optind], "-") == 0) { | 141 | if (argv[optind] == NULL || strcmp(argv[optind], "-") == 0) { |
142 | wc_file(stdin, NULL); | 142 | wc_file(stdin, ""); |
143 | return EXIT_SUCCESS; | 143 | return EXIT_SUCCESS; |
144 | } else { | 144 | } else { |
145 | while (optind < argc) { | 145 | while (optind < argc) { |