krb5 commit: Use %i, not %s to Tprintf GetLastError()

Sam Hartman hartmans at MIT.EDU
Mon Jul 16 09:33:06 EDT 2012


https://github.com/krb5/krb5/commit/692c1ccea5af4549437937a424b64ab40178fcc2
commit 692c1ccea5af4549437937a424b64ab40178fcc2
Author: Kevin Wasserman <kevin.wasserman at painless-security.com>
Date:   Mon May 21 07:40:43 2012 -0400

    Use %i, not %s to Tprintf GetLastError()
    
    Signed-off-by: Kevin Wasserman <kevin.wasserman at painless-security.com>
    
    ticket: 7206 (new)
    tags: pullup

 src/util/support/plugins.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/util/support/plugins.c b/src/util/support/plugins.c
index 2ab7436..02e37ee 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);
 


More information about the cvs-krb5 mailing list