diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-07 23:20:30 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-07 23:20:30 +0000 |
commit | 733dfb288fadefee93e61bb61a39171d210a93aa (patch) | |
tree | 268216ffef0938357d42a5dd04324c992000f044 /src/target | |
parent | a8d621325b3f289f32d0be8aa5b5e8314ce5656c (diff) | |
download | openocd_libswd-733dfb288fadefee93e61bb61a39171d210a93aa.tar.gz openocd_libswd-733dfb288fadefee93e61bb61a39171d210a93aa.tar.bz2 openocd_libswd-733dfb288fadefee93e61bb61a39171d210a93aa.tar.xz openocd_libswd-733dfb288fadefee93e61bb61a39171d210a93aa.zip |
Fix regression in mdw output; identified by Magnus Lundin.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2098 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target')
-rw-r--r-- | src/target/target.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/target.c b/src/target/target.c index b39ce81b..d6726492 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -1943,9 +1943,9 @@ static void handle_md_output(struct command_context_s *cmd_ctx, const char *value_fmt; switch (size) { - case 4: value_fmt = "%8.8x"; break; - case 2: value_fmt = "%4.2x"; break; - case 1: value_fmt = "%2.2x"; break; + case 4: value_fmt = "%8.8x "; break; + case 2: value_fmt = "%4.2x "; break; + case 1: value_fmt = "%2.2x "; break; default: LOG_ERROR("invalid memory read size: %u", size); exit(-1); |