minor cleanup

git-svn-id: svn://svn.berlios.de/openocd/trunk@1149 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
oharboe
2008-11-10 08:33:03 +00:00
parent d30b94d8df
commit 0bbe570882
3 changed files with 7 additions and 17 deletions

View File

@@ -2184,7 +2184,7 @@ int handle_gdb_port_command(struct command_context_s *cmd_ctx, char *cmd, char *
{
if (argc == 0)
{
command_print(cmd_ctx, "gdb_port: %ld", gdb_port);
command_print(cmd_ctx, "%d", gdb_port);
return ERROR_OK;
}