diff options
author | Jim Meyering <jim@meyering.net> | 2003-04-08 11:49:57 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-04-08 11:49:57 +0000 |
commit | ce5034feeba5f633e2133db36669537a4f456726 (patch) | |
tree | f55a174a03e17806994b29b472307ab21a876ac1 | |
parent | 3ca2ab6ef4a2598c4e2a8e859cd367ea498f7feb (diff) | |
download | coreutils-ce5034feeba5f633e2133db36669537a4f456726.tar.xz |
(main): Use STDIN_FILENO, not literal `0'.
-rw-r--r-- | src/split.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/split.c b/src/split.c index 84b338943..00216d572 100644 --- a/src/split.c +++ b/src/split.c @@ -502,7 +502,7 @@ main (int argc, char **argv) /* Open the input file. */ if (STREQ (infile, "-")) - input_desc = 0; + input_desc = STDIN_FILENO; else { input_desc = open (infile, O_RDONLY); |