]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Use %i, not %s to Tprintf GetLastError()
authorKevin Wasserman <kevin.wasserman@painless-security.com>
Mon, 21 May 2012 11:40:43 +0000 (07:40 -0400)
committerTom Yu <tlyu@mit.edu>
Mon, 23 Jul 2012 19:07:55 +0000 (15:07 -0400)
Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
(cherry picked from commit 692c1ccea5af4549437937a424b64ab40178fcc2)

ticket: 7206
version_fixed: 1.10.3
status: resolved

src/util/support/plugins.c

index 2ab7436bb906d3e9bc3ced87d8aed7d4ab1b569d..02e37ee92fe083fd757095973fd1f51e331cd67a 100644 (file)
@@ -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);