diff options
Diffstat (limited to 'stdlib/putenv.c')
-rw-r--r-- | stdlib/putenv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/putenv.c b/stdlib/putenv.c index 85890fec26..c0488fc505 100644 --- a/stdlib/putenv.c +++ b/stdlib/putenv.c @@ -60,7 +60,7 @@ putenv (char *string) int use_malloc = !__libc_use_alloca (name_end - string + 1); if (__builtin_expect (use_malloc, 0)) { - name = strndup (string, name_end - string); + name = __strndup (string, name_end - string); if (name == NULL) return -1; } |