diff options
author | Spencer Oliver <ntfreak@users.sourceforge.net> | 2009-12-17 11:53:39 +0000 |
---|---|---|
committer | Spencer Oliver <ntfreak@users.sourceforge.net> | 2010-01-05 19:54:36 +0000 |
commit | faad9e59233306e608a3a01388a38099ece9688b (patch) | |
tree | f4e65f57d6d2eae008ac11882b77ab811f542d36 /src | |
parent | 03e8649bc699053ccdbbd4a3c2eaf05241e22a5b (diff) | |
download | openocd+libswd-faad9e59233306e608a3a01388a38099ece9688b.tar.gz openocd+libswd-faad9e59233306e608a3a01388a38099ece9688b.tar.bz2 openocd+libswd-faad9e59233306e608a3a01388a38099ece9688b.tar.xz openocd+libswd-faad9e59233306e608a3a01388a38099ece9688b.zip |
parport: output port as hex rather than dec
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/jtag/drivers/parport.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |