---
 dm.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dm.c b/dm.c
index d846233..b1d455c 100644
--- a/dm.c
+++ b/dm.c
@@ -342,10 +342,12 @@ dm_decode_dm_target_msg(struct tcb *tcp, unsigned long 
addr,
            offset + target_msg_message_offs <= ioc->data_size) {
                struct dm_target_msg s;
 
+               tprints(", ");
+
                if (umove_or_printaddr(tcp, addr + offset, &s))
                        return;
 
-               tprintf(", {sector=%" PRI__u64 ", message=", s.sector);
+               tprintf("{sector=%" PRI__u64 ", message=", s.sector);
                printstr_ex(tcp, addr + offset + target_msg_message_offs,
                            ioc->data_size - offset - target_msg_message_offs,
                            QUOTE_0_TERMINATED);
-- 
1.7.10.4


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to