summaryrefslogtreecommitdiff
path: root/openbsd-compat/readpassphrase.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2005-05-24 16:42:00 +1000
committerDamien Miller <djm@mindrot.org>2005-05-24 16:42:00 +1000
commit101afbbb170bdbc81026b0385ab735e9f23a2835 (patch)
treebe000c858a926c255359ba3d5080e8827499f38c /openbsd-compat/readpassphrase.c
parent308c8b147bb6a5598902870675c6c5d5975470aa (diff)
restore portable-specific tweak
Diffstat (limited to 'openbsd-compat/readpassphrase.c')
-rw-r--r--openbsd-compat/readpassphrase.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/readpassphrase.c b/openbsd-compat/readpassphrase.c
index 5138b403..eb060bdb 100644
--- a/openbsd-compat/readpassphrase.c
+++ b/openbsd-compat/readpassphrase.c
@@ -138,7 +138,7 @@ restart:
/* Restore old terminal settings and signals. */
if (memcmp(&term, &oterm, sizeof(term)) != 0) {
- while (tcsetattr(input, TCSANOW|TCSASOFT, &oterm) == -1 &&
+ while (tcsetattr(input, _T_FLUSH, &oterm) == -1 &&
errno == EINTR)
continue;
}