diff options
author | 2002-11-26 00:45:03 +0000 | |
---|---|---|
committer | 2002-11-26 00:45:03 +0000 | |
commit | 9cf672e474102ef8f77cb7b7b075a6aa0e51938f (patch) | |
tree | 80c5d69f8946008739e83ce97da5b63ede9972f7 /usr.bin/ssh/ssh-keygen.c | |
parent | Whitespace diff; from FreeBSD (diff) | |
download | wireguard-openbsd-9cf672e474102ef8f77cb7b7b075a6aa0e51938f.tar.xz wireguard-openbsd-9cf672e474102ef8f77cb7b7b075a6aa0e51938f.zip |
Remove unnecessary fflush(stderr) calls, stderr is unbuffered by default.
ok markus@
Diffstat (limited to 'usr.bin/ssh/ssh-keygen.c')
-rw-r--r-- | usr.bin/ssh/ssh-keygen.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-keygen.c b/usr.bin/ssh/ssh-keygen.c index ca62aa307e2..c804ba4c1cc 100644 --- a/usr.bin/ssh/ssh-keygen.c +++ b/usr.bin/ssh/ssh-keygen.c @@ -12,7 +12,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh-keygen.c,v 1.101 2002/06/23 09:39:55 deraadt Exp $"); +RCSID("$OpenBSD: ssh-keygen.c,v 1.102 2002/11/26 00:45:03 wcobb Exp $"); #include <openssl/evp.h> #include <openssl/pem.h> @@ -105,7 +105,6 @@ ask_filename(struct passwd *pw, const char *prompt) snprintf(identity_file, sizeof(identity_file), "%s/%s", pw->pw_dir, name); fprintf(stderr, "%s (%s): ", prompt, identity_file); - fflush(stderr); if (fgets(buf, sizeof(buf), stdin) == NULL) exit(1); if (strchr(buf, '\n')) |