]> git.sur5r.net Git - openocd/commitdiff
parport: output port as hex rather than dec
authorSpencer Oliver <ntfreak@users.sourceforge.net>
Thu, 17 Dec 2009 11:53:39 +0000 (11:53 +0000)
committerSpencer Oliver <ntfreak@users.sourceforge.net>
Tue, 5 Jan 2010 19:54:36 +0000 (19:54 +0000)
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
src/jtag/drivers/parport.c

index 2e6b9ed511211b1307ccd3e975fcee627bb16e67..b280d04b5afdb041432265240a911b0052326901 100644 (file)
@@ -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;
 }