diff options
author | Günther Deschner <gdeschner@redhat.com> | 2013-11-21 16:29:19 +0100 |
---|---|---|
committer | Günther Deschner <gdeschner@redhat.com> | 2013-11-21 16:31:19 +0100 |
commit | a104e1c2c3f67c3532333bb9651d3e7f879870f3 (patch) | |
tree | e55f752aa98f1d9984b93a3784e49d71664c900c | |
parent | ce93b1511fc5c12eeadc04492f2281838cb3aa7d (diff) | |
download | gss-proxy-master-strerror.tar.gz gss-proxy-master-strerror.tar.xz gss-proxy-master-strerror.zip |
use strerror_r instead of strerror.master-strerror
Signed-off-by: Günther Deschner <gdeschner@redhat.com>
-rw-r--r-- | proxy/src/gp_util.c | 3 |
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); } |