diff options
Diffstat (limited to 'api/api.c')
-rw-r--r-- | api/api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/api.c b/api/api.c index 4fae95d2801..6ae9af74b57 100644 --- a/api/api.c +++ b/api/api.c @@ -481,7 +481,7 @@ static int API_env_set(va_list ap) if ((value = (char *)va_arg(ap, uintptr_t)) == NULL) return API_EINVAL; - setenv(name, value); + env_set(name, value); return 0; } |