diff --git a/gck-rpc-dispatch.c b/gck-rpc-dispatch.c index 184fa41f040e8b99a755033a6652f2690c7b83fc..0b7aa0d22844d61fc43d063a2e7dab2a61eec266 100644 --- a/gck-rpc-dispatch.c +++ b/gck-rpc-dispatch.c @@ -730,7 +730,7 @@ static CK_RV proto_write_session_info(CallState * cs, CK_SESSION_INFO_PTR info) #define END_CALL \ _cleanup: \ - debug (("ret: %d", _ret)); \ + debug (("ret: 0x%x", _ret)); \ return _ret; \ } diff --git a/gck-rpc-module.c b/gck-rpc-module.c index 05ceabb835b90ac6283aab2d110fe97fe55a6b82..a7a522e692cec76ba95f27a6ac46352c64732246 100644 --- a/gck-rpc-module.c +++ b/gck-rpc-module.c @@ -1054,7 +1054,7 @@ proto_read_sesssion_info(GckRpcMessage * msg, CK_SESSION_INFO_PTR info) #define END_CALL \ _cleanup: \ _ret = call_done (_cs, _ret); \ - debug (("ret: %d", _ret)); \ + debug (("ret: 0x%x", _ret)); \ return _ret; \ }