Fixed GDB timeout crash - regression introduced back when log_add/remove_callback was added.

git-svn-id: svn://svn.berlios.de/openocd/trunk@442 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
oharboe
2008-03-04 13:13:55 +00:00
parent 5a6dc5a325
commit f955b90d28
3 changed files with 7 additions and 7 deletions

View File

@@ -529,7 +529,7 @@ int gdb_output_con(connection_t *connection, const char* line)
int gdb_output(struct command_context_s *context, char* line)
{
/* this will be dumped to the log and also sent as an O packet if possible */
USER_N(line);
USER_N("%s", line);
return ERROR_OK;
}