summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/getpass.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/getpass.c')
-rw-r--r--lib/libc/gen/getpass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/getpass.c b/lib/libc/gen/getpass.c
index 727d58a..60e92b7 100644
--- a/lib/libc/gen/getpass.c
+++ b/lib/libc/gen/getpass.c
@@ -86,7 +86,7 @@ getpass(prompt)
if (p < buf + _PASSWORD_LEN)
*p++ = ch;
*p = '\0';
- (void)_libc_write(fileno(outfp), "\n", 1);
+ (void)_write(fileno(outfp), "\n", 1);
(void)tcsetattr(fileno(fp), TCSAFLUSH|TCSASOFT, &oterm);
(void)sigprocmask(SIG_SETMASK, &oset, NULL);
OpenPOWER on IntegriCloud