summaryrefslogtreecommitdiff
path: root/coreutils/wc.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/wc.c')
-rw-r--r--coreutils/wc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/wc.c b/coreutils/wc.c
index 728d725..94f1ee6 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) {