[26755] in CVS-changelog-for-Kerberos-V5

home help back first fref pref prev next nref lref last post

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

daemon@ATHENA.MIT.EDU (Tom Yu)
Mon Jul 23 16:26:48 2012

Date: Mon, 23 Jul 2012 16:26:24 -0400
From: Tom Yu <tlyu@mit.edu>
Message-Id: <201207232026.q6NKQO0a029066@drugstore.mit.edu>
To: cvs-krb5@mit.edu
Reply-To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu

https://github.com/krb5/krb5/commit/371c97db23d811a4124bdba06a419a5c05265ed9
commit 371c97db23d811a4124bdba06a419a5c05265ed9
Author: Kevin Wasserman <kevin.wasserman@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@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);
 
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5

home help back first fref pref prev next nref lref last post