diff options
Diffstat (limited to 'lib/libc/stdio/gets.c')
-rw-r--r-- | lib/libc/stdio/gets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdio/gets.c b/lib/libc/stdio/gets.c index da90fe2..42c5da2 100644 --- a/lib/libc/stdio/gets.c +++ b/lib/libc/stdio/gets.c @@ -59,7 +59,7 @@ gets(buf) "warning: this program uses gets(), which is unsafe.\n"; if (!warned) { - (void) write(STDERR_FILENO, w, sizeof(w) - 1); + (void) _libc_write(STDERR_FILENO, w, sizeof(w) - 1); warned = 1; } for (s = buf; (c = getchar()) != '\n';) |