From 17a2d5783ac38d1b79f37e2524d390ac7386dbf4 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 17 Aug 2018 23:02:00 -0500 Subject: Make microcom use set_terminal() and move speed setting into set_terminal(). --- lib/password.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/password.c') 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); -- cgit v1.2.3