aboutsummaryrefslogtreecommitdiff
path: root/lib/password.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/password.c')
-rw-r--r--lib/password.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/password.c b/lib/password.c
index 20c2f481..a02bc542 100644
--- a/lib/password.c
+++ b/lib/password.c
@@ -59,7 +59,7 @@ int read_password(char *buf, int buflen, char *mesg)
sigaction(SIGINT, &sa, &oldsa);
tcflush(0, TCIFLUSH);
- set_terminal(0, 1, &oldtermio);
+ xset_terminal(0, 1, 0, &oldtermio);
xprintf("%s", mesg);