diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-04-13 02:33:10 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-04-13 02:33:10 +0000 |
commit | 1aa7b0eba47e9452ea6454af501b33b70e05d060 (patch) | |
tree | 046eecb5edae4ab0d192fb5297f35203fc8b44ed /bin/ksh | |
parent | 8b7d13b0e05b4a89823fc6e4ea4e6043f9540c72 (diff) |
use STD{IN,OUT,ERR}_FILENO
Diffstat (limited to 'bin/ksh')
-rw-r--r-- | bin/ksh/edit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ksh/edit.c b/bin/ksh/edit.c index 6618e079a83..c4bac67a77d 100644 --- a/bin/ksh/edit.c +++ b/bin/ksh/edit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: edit.c,v 1.28 2005/03/30 17:16:37 deraadt Exp $ */ +/* $OpenBSD: edit.c,v 1.29 2005/04/13 02:33:08 deraadt Exp $ */ /* * Command line editing - common code @@ -119,7 +119,7 @@ x_getc(void) char c; int n; - while ((n = blocking_read(0, &c, 1)) < 0 && errno == EINTR) + while ((n = blocking_read(STDIN_FILENO, &c, 1)) < 0 && errno == EINTR) if (trap) { x_mode(false); runtraps(0); |