summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Wasserman <kevin.wasserman@painless-security.com>2012-05-21 07:40:43 -0400
committerSam Hartman <hartmans@mit.edu>2012-07-16 09:31:14 -0400
commit692c1ccea5af4549437937a424b64ab40178fcc2 (patch)
tree09d1bbc272e782e5cc689b3572dba80eb2c858a8
parentb19024706abf129e67bd2d8732a9fe09286cd847 (diff)
downloadkrb5-692c1ccea5af4549437937a424b64ab40178fcc2.tar.gz
krb5-692c1ccea5af4549437937a424b64ab40178fcc2.tar.xz
krb5-692c1ccea5af4549437937a424b64ab40178fcc2.zip
Use %i, not %s to Tprintf GetLastError()
Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com> ticket: 7206 (new) tags: pullup
-rw-r--r--src/util/support/plugins.c2
1 files changed, 1 insertions, 1 deletions
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);