aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2001-11-21 10:01:29 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2001-11-21 10:01:29 +0000
commitc29ab9709489a93ba5f740f3a47b96d3bc8ef705 (patch)
tree065eea441bac1e1ae7d6f55666624563adf84038
parent1477ad8e8319a3ef4623b699083295a0fd560adf (diff)
downloadbusybox-c29ab9709489a93ba5f740f3a47b96d3bc8ef705.tar.gz
woops. dotn pass NULL
-rw-r--r--coreutils/wc.c2
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)
}
if (argv[optind] == NULL || strcmp(argv[optind], "-") == 0) {
- wc_file(stdin, NULL);
+ wc_file(stdin, "");
return EXIT_SUCCESS;
} else {
while (optind < argc) {