summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-04 13:13:55 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-04 13:13:55 +0000
commitf955b90d28874dc238a03178503a804b3c38582a (patch)
treee32ef1b5f318e43e5f7ce1cb25b39ff459863615 /src/server
parent5a6dc5a325756132ce20be598c278022c7b1c185 (diff)
downloadopenocd_libswd-f955b90d28874dc238a03178503a804b3c38582a.tar.gz
openocd_libswd-f955b90d28874dc238a03178503a804b3c38582a.tar.bz2
openocd_libswd-f955b90d28874dc238a03178503a804b3c38582a.tar.xz
openocd_libswd-f955b90d28874dc238a03178503a804b3c38582a.zip
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
Diffstat (limited to 'src/server')
-rw-r--r--src/server/gdb_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c
index 9558aef9..74722e10 100644
--- a/src/server/gdb_server.c
+++ b/src/server/gdb_server.c
@@ -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;
}