summaryrefslogtreecommitdiff
path: root/libc/stdio/ctermid.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/ctermid.c')
-rw-r--r--libc/stdio/ctermid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/ctermid.c b/libc/stdio/ctermid.c
index 118608780..11e43f336 100644
--- a/libc/stdio/ctermid.c
+++ b/libc/stdio/ctermid.c
@@ -21,6 +21,6 @@ char *ctermid(register char *s)
return s;
#else
/* glibc always returns /dev/tty for linux. */
- return strcpy((s ? s : sbuf), "/dev/tty");
+ return __strcpy((s ? s : sbuf), "/dev/tty");
#endif
}