summaryrefslogtreecommitdiff
path: root/libc/unistd/confstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/unistd/confstr.c')
-rw-r--r--libc/unistd/confstr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/unistd/confstr.c b/libc/unistd/confstr.c
index 017cf1e8e..bfaecb198 100644
--- a/libc/unistd/confstr.c
+++ b/libc/unistd/confstr.c
@@ -48,10 +48,10 @@ size_t confstr ( int name, char *buf, size_t len)
if (len > 0 && buf != NULL)
{
if (string_len <= len)
- memcpy (buf, string, string_len);
+ __memcpy (buf, string, string_len);
else
{
- memcpy (buf, string, len - 1);
+ __memcpy (buf, string, len - 1);
buf[len - 1] = '\0';
}
}