krb5 commit [krb5-1.10]: Use %i, not %s to Tprintf GetLastError()

Tom Yu tlyu at MIT.EDU
Mon Jul 23 16:26:24 EDT 2012


https://github.com/krb5/krb5/commit/371c97db23d811a4124bdba06a419a5c05265ed9
commit 371c97db23d811a4124bdba06a419a5c05265ed9
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>
    
    (cherry picked from commit 692c1ccea5af4549437937a424b64ab40178fcc2)
    
    ticket: 7206
    version_fixed: 1.10.3
    status: resolved

 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