- use STD*_FILENO some more. No object-code changes
diff --git a/procps/top.c b/procps/top.c
index de30ffb..b861deb 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -888,7 +888,7 @@
 			 /* batch mode, or EOF on stdin ("top </dev/null") */
 			sleep(interval);
 		else if (safe_poll(pfd, 1, interval * 1000) > 0) {
-			if (safe_read(0, &c, 1) != 1) { /* error/EOF? */
+			if (safe_read(STDIN_FILENO, &c, 1) != 1) { /* error/EOF? */
 				option_mask32 |= OPT_EOF;
 				continue;
 			}