summaryrefslogtreecommitdiffstats
path: root/proxy/src/gp_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'proxy/src/gp_util.c')
-rw-r--r--proxy/src/gp_util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/proxy/src/gp_util.c b/proxy/src/gp_util.c
index 1698f74..aad8875 100644
--- a/proxy/src/gp_util.c
+++ b/proxy/src/gp_util.c
@@ -69,6 +69,7 @@ char *gp_getenv(const char *name)
char *gp_strerror(int errnum)
{
- return strerror(errnum);
+ char buf[256];
+ return strerror_r(errnum, buf, 256);
}