summaryrefslogtreecommitdiff
path: root/lib/libc/gen/getpass.c
diff options
context:
space:
mode:
authorJason Evans <jasone@FreeBSD.org>2000-01-27 23:07:25 +0000
committerJason Evans <jasone@FreeBSD.org>2000-01-27 23:07:25 +0000
commit9233c4d9426e03b28e043baeefb6d5a37dc4086e (patch)
tree8606358bf2ae9c436cce380d290e7a73f9cddfc6 /lib/libc/gen/getpass.c
parent072229cdbb757229b7e11f102da326679db27d0e (diff)
Notes
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 727d58a911b7..60e92b73e75e 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);