diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2014-08-11 09:25:12 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2014-08-11 09:25:12 +0100 |
commit | db07992146bd8cbde311178361ffa2335b92ef82 (patch) | |
tree | b2a0da1300930e64e8c6972c0263a33b8d037121 | |
parent | 29c539c25ae8071e0b401916ce8cd333c6ec2cd3 (diff) | |
download | gss-ntlmssp-db07992146bd8cbde311178361ffa2335b92ef82.tar.gz gss-ntlmssp-db07992146bd8cbde311178361ffa2335b92ef82.tar.xz gss-ntlmssp-db07992146bd8cbde311178361ffa2335b92ef82.zip |
Include config.h in gss_err.c, fix GNU strerror_r() code path
We really ought to be including config.h consistently...
-rw-r--r-- | src/gss_err.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gss_err.c b/src/gss_err.c index cccc0e4..ee29918 100644 --- a/src/gss_err.c +++ b/src/gss_err.c @@ -1,5 +1,7 @@ /* Copyright (C) 2014 GSS-NTLMSSP contributors, see COPYING for license */ +#include "config.h" + #include <stdlib.h> #include <string.h> #include <errno.h> @@ -99,7 +101,7 @@ uint32_t gssntlm_display_status(uint32_t *minor_status, #else { char *ret; - ret = strerror_r(errnum, buf, 400); + ret = strerror_r(status_value, buf, 400); if (ret == NULL) { err = errno; } else { |