summaryrefslogtreecommitdiffstats
path: root/src/util/support/errors.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/support/errors.c')
-rw-r--r--src/util/support/errors.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/util/support/errors.c b/src/util/support/errors.c
index 74093a56a..4b1cfa062 100644
--- a/src/util/support/errors.c
+++ b/src/util/support/errors.c
@@ -84,10 +84,8 @@ k5_get_error(struct errinfo *ep, long code)
lock();
if (fptr == NULL) {
unlock();
-#ifdef HAVE_STRERROR_R
if (strerror_r(code, buf, sizeof(buf)) == 0)
return oom_check(strdup(buf));
-#endif
return oom_check(strdup(strerror(code)));
}
r = fptr(code);