summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorGlenn L McGrath2001-11-21 10:01:29 +0000
committerGlenn L McGrath2001-11-21 10:01:29 +0000
commitc29ab9709489a93ba5f740f3a47b96d3bc8ef705 (patch)
tree065eea441bac1e1ae7d6f55666624563adf84038 /coreutils
parent1477ad8e8319a3ef4623b699083295a0fd560adf (diff)
downloadbusybox-c29ab9709489a93ba5f740f3a47b96d3bc8ef705.zip
busybox-c29ab9709489a93ba5f740f3a47b96d3bc8ef705.tar.gz
woops. dotn pass NULL
Diffstat (limited to 'coreutils')
-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) {