Use krb5_get_error_message.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23204 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-05-29 02:13:11 +00:00
parent 7f9e3a7256
commit 577ff0f5c0

View File

@@ -65,7 +65,7 @@ _warnerr(krb5_context context, int do_errtext,
strlcat(xfmt, "%s", sizeof(xfmt)); strlcat(xfmt, "%s", sizeof(xfmt));
err_str = krb5_get_error_string(context); err_str = krb5_get_error_message(context, code);
if (err_str != NULL) { if (err_str != NULL) {
*arg++ = err_str; *arg++ = err_str;
} else { } else {