From: Kevin Wasserman Date: Mon, 21 May 2012 11:40:43 +0000 (-0400) Subject: Use %i, not %s to Tprintf GetLastError() X-Git-Tag: krb5-1.11-alpha1~412 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=692c1ccea5af4549437937a424b64ab40178fcc2;p=thirdparty%2Fkrb5.git Use %i, not %s to Tprintf GetLastError() Signed-off-by: Kevin Wasserman ticket: 7206 (new) tags: pullup --- diff --git a/src/util/support/plugins.c b/src/util/support/plugins.c index 2ab7436bb9..02e37ee92f 100644 --- a/src/util/support/plugins.c +++ b/src/util/support/plugins.c @@ -354,7 +354,7 @@ krb5int_get_plugin_sym (struct plugin_file_handle *h, sym = GetProcAddress(h->hinstPlugin, csymname); if (sym == NULL) { const char *e = "unable to get dll symbol"; /* XXX copy and save away */ - Tprintf ("GetProcAddress(%s): %s\n", csymname, GetLastError()); + Tprintf ("GetProcAddress(%s): %i\n", csymname, GetLastError()); err = ENOENT; /* XXX */ krb5int_set_error(ep, err, "%s", e);