diff options
| author | Sheldon Hearn <sheldonh@FreeBSD.org> | 2001-07-26 11:02:39 +0000 |
|---|---|---|
| committer | Sheldon Hearn <sheldonh@FreeBSD.org> | 2001-07-26 11:02:39 +0000 |
| commit | e1b4d8d0746069292d84708b0e11b17a7e1ef5e0 (patch) | |
| tree | bd2ac2627dbeab7d3427432bb98d2c73085b61c1 /libexec/rlogind | |
| parent | 8155f5e200803441caa6e1bba5d9fa1f836d232f (diff) | |
Notes
Diffstat (limited to 'libexec/rlogind')
| -rw-r--r-- | libexec/rlogind/rlogind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rlogind/rlogind.c b/libexec/rlogind/rlogind.c index f1cea97cebe60..f0df9dfd099ce 100644 --- a/libexec/rlogind/rlogind.c +++ b/libexec/rlogind/rlogind.c @@ -586,7 +586,7 @@ getstr(buf, cnt, errmsg) char c; do { - if (read(0, &c, 1) != 1) + if (read(STDIN_FILENO, &c, 1) != 1) exit(1); if (--cnt < 0) fatal(STDOUT_FILENO, errmsg, 0); |
