aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ndmp.c
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2008-10-31 15:11:57 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2008-10-31 15:11:57 +0000
commit00a29cec868ed438c860b79d88e0f9d0d08173de (patch)
tree41c9cc8212895bd68b8bcb172232f7d0e6a64c1e /epan/dissectors/packet-ndmp.c
parent4c50b8ae34b235ebb339d90c820b37f02db485c2 (diff)
Fix some "format not a string literal and no format arguments" warnings.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26647 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-ndmp.c')
-rw-r--r--epan/dissectors/packet-ndmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ndmp.c b/epan/dissectors/packet-ndmp.c
index fcbf8f3822..aec552c791 100644
--- a/epan/dissectors/packet-ndmp.c
+++ b/epan/dissectors/packet-ndmp.c
@@ -2840,7 +2840,7 @@ dissect_ndmp_cmd(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree
if (tvb_reported_length_remaining(tvb, offset) > 0) {
if(tree){
- cmd_item = proto_tree_add_text(tree, tvb, offset, -1,
+ cmd_item = proto_tree_add_text(tree, tvb, offset, -1, "%s",
msg_vals[i].strptr);
cmd_tree = proto_item_add_subtree(cmd_item, ett_ndmp);
}