From 577ff0f5c078ec02f3324d14fdc7ab9d95e5800d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Thu, 29 May 2008 02:13:11 +0000 Subject: [PATCH] Use krb5_get_error_message. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23204 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/warn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/krb5/warn.c b/lib/krb5/warn.c index 16a272173..86c039fc4 100644 --- a/lib/krb5/warn.c +++ b/lib/krb5/warn.c @@ -65,7 +65,7 @@ _warnerr(krb5_context context, int do_errtext, strlcat(xfmt, "%s", sizeof(xfmt)); - err_str = krb5_get_error_string(context); + err_str = krb5_get_error_message(context, code); if (err_str != NULL) { *arg++ = err_str; } else {