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 /sbin/init | |
| parent | 8155f5e200803441caa6e1bba5d9fa1f836d232f (diff) | |
Notes
Diffstat (limited to 'sbin/init')
| -rw-r--r-- | sbin/init/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/init/init.c b/sbin/init/init.c index 49aa37402701..81fe85e1d271 100644 --- a/sbin/init/init.c +++ b/sbin/init/init.c @@ -663,7 +663,7 @@ single_user() pp = getpwnam("root"); if (typ && (typ->ty_status & TTY_SECURE) == 0 && pp && *pp->pw_passwd) { - write(2, banner, sizeof banner - 1); + write(STDERR_FILENO, banner, sizeof banner - 1); for (;;) { clear = getpass("Password:"); if (clear == 0 || *clear == '\0') |
