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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/support/errors.c b/src/util/support/errors.c
index 00cc922eb..0cd39277d 100644
--- a/src/util/support/errors.c
+++ b/src/util/support/errors.c
@@ -172,6 +172,10 @@ krb5int_get_error (struct errinfo *ep, long code)
return ep->scratch_buf;
}
r = fptr(code);
+#ifndef HAVE_COM_ERR_INTL
+ /* Translate com_err results here if libcom_err won't do it. */
+ r = _(r);
+#endif
if (r == NULL) {
unlock();
goto format_number;