diff options
Diffstat (limited to 'ecp')
-rw-r--r-- | ecp/test/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ecp/test/init.c b/ecp/test/init.c index b75b2ee..161742b 100644 --- a/ecp/test/init.c +++ b/ecp/test/init.c @@ -4,7 +4,7 @@ #include <ecp/core.h> static void handle_err(ECPConnection *conn, unsigned char mtype, int err) { - printf("ERR: CTYPE:%d MTYPE:%x ERR:%d\n", conn->type, mtype, err); + printf("ERR: CTYPE:0x%x MTYPE:0x%x ERR:%d\n", conn->type, mtype, err); } static ECPConnection *conn_new(ECPSocket *sock, unsigned char type) { |