diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2008-10-31 14:07:23 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2008-10-31 14:07:23 +0000 |
commit | d0e33bc3c5559566c42f6269aa2bb8b8eccf2086 (patch) | |
tree | d7b4f6dc1a5c38796a74c5b14c34c2f5f6afa8d4 /epan/dissectors/packet-cdp.c | |
parent | 186a69dd831b34637a59bcbdc643b8678eac4ce7 (diff) |
Fix some "format not a string literal and no format arguments" warnings.
svn path=/trunk/; revision=26646
Diffstat (limited to 'epan/dissectors/packet-cdp.c')
-rw-r--r-- | epan/dissectors/packet-cdp.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/epan/dissectors/packet-cdp.c b/epan/dissectors/packet-cdp.c index e0bd6ccd77..ffb761d49d 100644 --- a/epan/dissectors/packet-cdp.c +++ b/epan/dissectors/packet-cdp.c @@ -999,31 +999,31 @@ dissect_capabilities(tvbuff_t *tvb, int offset, int length, proto_tree *tree) ti = proto_tree_add_text(tree, tvb, offset, length, "Capabilities: 0x%08x", capabilities); capabilities_tree = proto_item_add_subtree(ti, ett_cdp_capabilities); - proto_tree_add_text(capabilities_tree, tvb, offset, 4, + proto_tree_add_text(capabilities_tree, tvb, offset, 4, "%s", decode_boolean_bitfield(capabilities, 0x01, 4*8, "Is a Router", "Not a Router")); - proto_tree_add_text(capabilities_tree, tvb, offset, 4, + proto_tree_add_text(capabilities_tree, tvb, offset, 4, "%s", decode_boolean_bitfield(capabilities, 0x02, 4*8, "Is a Transparent Bridge", "Not a Transparent Bridge")); - proto_tree_add_text(capabilities_tree, tvb, offset, 4, + proto_tree_add_text(capabilities_tree, tvb, offset, 4, "%s", decode_boolean_bitfield(capabilities, 0x04, 4*8, "Is a Source Route Bridge", "Not a Source Route Bridge")); - proto_tree_add_text(capabilities_tree, tvb, offset, 4, + proto_tree_add_text(capabilities_tree, tvb, offset, 4, "%s", decode_boolean_bitfield(capabilities, 0x08, 4*8, "Is a Switch", "Not a Switch")); - proto_tree_add_text(capabilities_tree, tvb, offset, 4, + proto_tree_add_text(capabilities_tree, tvb, offset, 4, "%s", decode_boolean_bitfield(capabilities, 0x10, 4*8, "Is a Host", "Not a Host")); - proto_tree_add_text(capabilities_tree, tvb, offset, 4, + proto_tree_add_text(capabilities_tree, tvb, offset, 4, "%s", decode_boolean_bitfield(capabilities, 0x20, 4*8, "Is IGMP capable", "Not IGMP capable")); - proto_tree_add_text(capabilities_tree, tvb, offset, 4, + proto_tree_add_text(capabilities_tree, tvb, offset, 4, "%s", decode_boolean_bitfield(capabilities, 0x40, 4*8, "Is a Repeater", "Not a Repeater")); |