aboutsummaryrefslogtreecommitdiffstats
path: root/src/quit.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-18 11:47:26 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-18 11:47:26 +0100
commitb8161e331b2f84b600322ad1d34755607d764f1f (patch)
tree38ae32ff6604672befc5bf531544a3c168d8febb /src/quit.c
parentadd deps (update for next change) + bump year (diff)
downloadcerberus-b8161e331b2f84b600322ad1d34755607d764f1f.tar.gz
cerberus-b8161e331b2f84b600322ad1d34755607d764f1f.tar.bz2
cerberus-b8161e331b2f84b600322ad1d34755607d764f1f.tar.xz
update to new version of libpassphrase
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src/quit.c')
-rw-r--r--src/quit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quit.c b/src/quit.c
index f981fb1..ae225ee 100644
--- a/src/quit.c
+++ b/src/quit.c
@@ -36,7 +36,7 @@ void timeout_quit(int signal)
(void) signal;
printf("\nTimed out.\n");
#if AUTH != 0
- passphrase_reenable_echo();
+ passphrase_reenable_echo1(STDIN_FILENO);
#endif
sleep(ERROR_SLEEP);
_exit(10);
@@ -53,7 +53,7 @@ void user_quit(int signal)
(void) signal;
printf("\n");
#if AUTH != 0
- passphrase_reenable_echo();
+ passphrase_reenable_echo1(STDIN_FILENO);
#endif
_exit(130);
}