aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dcerpc-netlogon.c
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2008-10-31 14:07:23 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2008-10-31 14:07:23 +0000
commit4c50b8ae34b235ebb339d90c820b37f02db485c2 (patch)
treed7b4f6dc1a5c38796a74c5b14c34c2f5f6afa8d4 /epan/dissectors/packet-dcerpc-netlogon.c
parentdbd185b373c44cb1eee706db06faefde2a302d01 (diff)
Fix some "format not a string literal and no format arguments" warnings.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26646 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dcerpc-netlogon.c')
-rw-r--r--epan/dissectors/packet-dcerpc-netlogon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-dcerpc-netlogon.c b/epan/dissectors/packet-dcerpc-netlogon.c
index 9ce638680d..315317045e 100644
--- a/epan/dissectors/packet-dcerpc-netlogon.c
+++ b/epan/dissectors/packet-dcerpc-netlogon.c
@@ -3109,7 +3109,7 @@ netlogon_dissect_CIPHER_VALUE(tvbuff_t *tvb, int offset,
if(parent_tree){
item = proto_tree_add_text(parent_tree, tvb, offset, 0,
- name);
+ "%s", name);
tree = proto_item_add_subtree(item, ett_CYPHER_VALUE);
}
@@ -3557,7 +3557,7 @@ netlogon_dissect_DELTA_ENUM(tvbuff_t *tvb, int offset,
offset = dissect_ndr_uint16(tvb, offset, pinfo, tree, drep,
hf_netlogon_delta_type, &type);
- proto_item_append_text(item, val_to_str(
+ proto_item_append_text(item, "%s", val_to_str(
type, delta_type_vals, "Unknown"));
offset = netlogon_dissect_DELTA_ID_UNION(tvb, offset,