From: Spencer Oliver Date: Thu, 17 Dec 2009 11:53:39 +0000 (+0000) Subject: parport: output port as hex rather than dec X-Git-Tag: v0.4.0-rc2~147 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=faad9e59233306e608a3a01388a38099ece9688b;p=openocd parport: output port as hex rather than dec Signed-off-by: Spencer Oliver --- diff --git a/src/jtag/drivers/parport.c b/src/jtag/drivers/parport.c index 2e6b9ed5..b280d04b 100644 --- a/src/jtag/drivers/parport.c +++ b/src/jtag/drivers/parport.c @@ -424,7 +424,7 @@ COMMAND_HANDLER(parport_handle_parport_port_command) } } - command_print(CMD_CTX, "parport port = %u", parport_port); + command_print(CMD_CTX, "parport port = 0x%" PRIx16 "", parport_port); return ERROR_OK; }