(main): Use STDIN_FILENO, not literal `0'.

This commit is contained in:
Jim Meyering committed 2003-04-08 11:49:57 +00:00
1 parent 3ca2ab6ef4
commit ce5034feeb
1 file changed
+1 -1
+1 -1
View File
@@ -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);