parport: output port as hex rather than dec

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
This commit is contained in:
Spencer Oliver 2009-12-17 11:53:39 +00:00
parent 03e8649bc6
commit faad9e5923
1 changed files with 1 additions and 1 deletions

View 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;
}