aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-mq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-mq.c b/epan/dissectors/packet-mq.c
index a1f7aabe64..52f69d1a39 100644
--- a/epan/dissectors/packet-mq.c
+++ b/epan/dissectors/packet-mq.c
@@ -1607,7 +1607,7 @@ dissect_mq_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* Dissect the common part of these structures */
guint8* sStructId;
sStructId = tvb_get_string(tvb, offset, 4);
- ti = proto_tree_add_text(mqroot_tree, tvb, offset, -1, (const char*)sStructId);
+ ti = proto_tree_add_text(mqroot_tree, tvb, offset, -1, "%s", (const char*)sStructId);
g_free(sStructId);
mq_tree = proto_item_add_subtree(ti, ett_mq_spi_base);