summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/login/login.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/login/login.c b/usr.bin/login/login.c
index d4c4562..2182928 100644
--- a/usr.bin/login/login.c
+++ b/usr.bin/login/login.c
@@ -242,6 +242,7 @@ getuser(FILE *fp)
fseek(fp, 0, SEEK_SET);
memset(buf, 0, sizeof(buf));
buf_i = 0;
+ echo_chars = 1;
return -1;
}