Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2001-11-21 13:01:29 +0300
committerGlenn L McGrath <bug1@ihug.co.nz>2001-11-21 13:01:29 +0300
commitc29ab9709489a93ba5f740f3a47b96d3bc8ef705 (patch)
tree065eea441bac1e1ae7d6f55666624563adf84038 /coreutils/wc.c
parent1477ad8e8319a3ef4623b699083295a0fd560adf (diff)
woops. dotn pass NULL
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 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) {