summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-02-13 16:43:52 +1100
committerDamien Miller <djm@mindrot.org>2002-02-13 16:43:52 +1100
commit89a1b9f908dc75ba2176d716af8e8abc8f9a4742 (patch)
treecc8d172444f5da60b39c9e8bb7eee903c457faa0
parent8e3bdca1da7d30542e9028f35f2a1cef052c85e4 (diff)
unbreak
-rw-r--r--openbsd-compat/readpassphrase.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd-compat/readpassphrase.c b/openbsd-compat/readpassphrase.c
index 4e63b6189..4d25eadbb 100644
--- a/openbsd-compat/readpassphrase.c
+++ b/openbsd-compat/readpassphrase.c
@@ -136,7 +136,7 @@ restart:
136 136
137 /* Restore old terminal settings and signals. */ 137 /* Restore old terminal settings and signals. */
138 if (memcmp(&term, &oterm, sizeof(term)) != 0) 138 if (memcmp(&term, &oterm, sizeof(term)) != 0)
139 (void)tcsetattr(input, _T_FLUSH, &term); 139 (void)tcsetattr(input, _T_FLUSH, &oterm);
140 (void)sigaction(SIGINT, &saveint, NULL); 140 (void)sigaction(SIGINT, &saveint, NULL);
141 (void)sigaction(SIGHUP, &savehup, NULL); 141 (void)sigaction(SIGHUP, &savehup, NULL);
142 (void)sigaction(SIGQUIT, &savequit, NULL); 142 (void)sigaction(SIGQUIT, &savequit, NULL);
@@ -179,6 +179,6 @@ getpass(const char *prompt)
179 179
180static void handler(int s) 180static void handler(int s)
181{ 181{
182 182fprintf(stderr, "COPPED A SGNAL\n");
183 signo = s; 183 signo = s;
184} 184}