summaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-02-29 11:16:38 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-02-29 11:16:38 +0000
commit67e0aea25850b8286f750e6458e5de741e6cb3b5 (patch)
tree1225ab14f9cb5f79c12540b677a1d8aadcbce0bf /src/target
parent4febcd8313cf46bea03bd5eacb3f287f19eb2961 (diff)
downloadopenocd+libswd-67e0aea25850b8286f750e6458e5de741e6cb3b5.tar.gz
openocd+libswd-67e0aea25850b8286f750e6458e5de741e6cb3b5.tar.bz2
openocd+libswd-67e0aea25850b8286f750e6458e5de741e6cb3b5.tar.xz
openocd+libswd-67e0aea25850b8286f750e6458e5de741e6cb3b5.zip
Summary: passing of variable argument list reduced, strings sent to logging are now formatted just once - more efficient.
As a result, ugly string malloc+strcpy are not needed anymore. git-svn-id: svn://svn.berlios.de/openocd/trunk@386 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target')
-rw-r--r--src/target/target_request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/target_request.c b/src/target/target_request.c
index 020ee790..e168d944 100644
--- a/src/target/target_request.c
+++ b/src/target/target_request.c
@@ -55,7 +55,7 @@ int target_asciimsg(target_t *target, u32 length)
int target_charmsg(target_t *target, u8 msg)
{
- USER_SAMELINE("%c", msg);
+ USER_N("%c", msg);
return ERROR_OK;
}