Module Name: src Committed By: joerg Date: Wed Dec 8 01:45:57 UTC 2010
Modified Files: src/crypto/dist/heimdal/lib/gssapi/krb5: display_status.c Log Message: Don't format an error and pass it down as format string again. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 \ src/crypto/dist/heimdal/lib/gssapi/krb5/display_status.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/crypto/dist/heimdal/lib/gssapi/krb5/display_status.c diff -u src/crypto/dist/heimdal/lib/gssapi/krb5/display_status.c:1.1 src/crypto/dist/heimdal/lib/gssapi/krb5/display_status.c:1.2 --- src/crypto/dist/heimdal/lib/gssapi/krb5/display_status.c:1.1 Sat Mar 22 09:39:22 2008 +++ src/crypto/dist/heimdal/lib/gssapi/krb5/display_status.c Wed Dec 8 01:45:57 2010 @@ -34,7 +34,7 @@ #include "krb5/gsskrb5_locl.h" __RCSID("$Heimdal: display_status.c 19031 2006-11-13 18:02:57Z lha $" - "$NetBSD: display_status.c,v 1.1 2008/03/22 09:39:22 mlelstv Exp $"); + "$NetBSD: display_status.c,v 1.2 2010/12/08 01:45:57 joerg Exp $"); static const char * calling_error(OM_uint32 v) @@ -136,7 +136,7 @@ vasprintf(&str, fmt, args); va_end(args); if (str) { - krb5_set_error_string(context, str); + krb5_set_error_string(context, "%s", str); free(str); } }