# HG changeset patch # User Matt Johnston # Date 1322947490 -28800 # Node ID a48a1f6ab43e63afe82126316364cb1749c69d68 # Parent df11cb6a366516d18183b5e0e80a86f2a68a7dc9 - Fix some format strings in TRACE()s diff -r df11cb6a3665 -r a48a1f6ab43e signkey.c --- a/signkey.c Sun Dec 04 05:23:43 2011 +0800 +++ b/signkey.c Sun Dec 04 05:24:50 2011 +0800 @@ -105,11 +105,11 @@ m_free(ident); if (*type != DROPBEAR_SIGNKEY_ANY && *type != keytype) { - TRACE(("buf_get_pub_key bad type - got %d, expected %d", keytype, type)) + TRACE(("buf_get_pub_key bad type - got %d, expected %d", keytype, *type)) return DROPBEAR_FAILURE; } - TRACE(("buf_get_pub_key keytype is %d")) + TRACE(("buf_get_pub_key keytype is %d", keytype)) *type = keytype; diff -r df11cb6a3665 -r a48a1f6ab43e svr-x11fwd.c --- a/svr-x11fwd.c Sun Dec 04 05:23:43 2011 +0800 +++ b/svr-x11fwd.c Sun Dec 04 05:24:50 2011 +0800 @@ -175,7 +175,7 @@ m_free(chansess->x11authprot); m_free(chansess->x11authcookie); - TRACE(("chansess %s", chansess)) + TRACE(("chansess %x", chansess)) if (chansess->x11listener != NULL) { remove_listener(chansess->x11listener); chansess->x11listener = NULL;