summaryrefslogtreecommitdiff
path: root/src/target/target.c
diff options
context:
space:
mode:
authorFerdinand Postema <ferdinand@postema.eu>2009-11-12 23:21:33 +0100
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-11-14 02:22:37 -0800
commitab3bdfb2cb7b0c16800195951e4ee549cf8e86a5 (patch)
treeab397749d554bc7f9a9ab05d692d92f0d9aeffd2 /src/target/target.c
parentecab0cfe25600ad13c174b78a637515943cc870a (diff)
downloadopenocd_libswd-ab3bdfb2cb7b0c16800195951e4ee549cf8e86a5.tar.gz
openocd_libswd-ab3bdfb2cb7b0c16800195951e4ee549cf8e86a5.tar.bz2
openocd_libswd-ab3bdfb2cb7b0c16800195951e4ee549cf8e86a5.tar.xz
openocd_libswd-ab3bdfb2cb7b0c16800195951e4ee549cf8e86a5.zip
compile with cygwin (32-bit)
Changed some printf format strings.. [dbrownell@users.sourceforge.net: shrink lines, fix indents] Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/target.c')
-rw-r--r--src/target/target.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/target/target.c b/src/target/target.c
index 85c228a0..cc8d500f 100644
--- a/src/target/target.c
+++ b/src/target/target.c
@@ -2801,13 +2801,15 @@ COMMAND_HANDLER(handle_wp_command)
while (watchpoint)
{
- command_print(cmd_ctx,
- "address: 0x%8.8" PRIx32 ", len: 0x%8.8x, r/w/a: %i, value: 0x%8.8" PRIx32 ", mask: 0x%8.8" PRIx32 "",
- watchpoint->address,
- watchpoint->length,
- (int)(watchpoint->rw),
- watchpoint->value,
- watchpoint->mask);
+ command_print(cmd_ctx, "address: 0x%8.8" PRIx32
+ ", len: 0x%8.8" PRIx32
+ ", r/w/a: %i, value: 0x%8.8" PRIx32
+ ", mask: 0x%8.8" PRIx32,
+ watchpoint->address,
+ watchpoint->length,
+ (int)watchpoint->rw,
+ watchpoint->value,
+ watchpoint->mask);
watchpoint = watchpoint->next;
}
return ERROR_OK;