summaryrefslogtreecommitdiff
path: root/src/rm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rm.c')
-rw-r--r--src/rm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rm.c b/src/rm.c
index bae9e95b3..722994735 100644
--- a/src/rm.c
+++ b/src/rm.c
@@ -166,7 +166,7 @@ main (argc, argv)
usage (1);
}
- stdin_tty = isatty (0);
+ stdin_tty = isatty (STDIN_FILENO);
for (; optind < argc; optind++)
{