diff options
author | Evan Huus <eapache@gmail.com> | 2014-06-16 14:04:05 -0700 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2014-06-16 21:04:21 +0000 |
commit | bbc7293510eced90fecf81311546433e98f5ffc4 (patch) | |
tree | 2754d4432691afc13dc40523396486951ebb70c2 /epan/dissectors/packet-ipdc.c | |
parent | d5fb63a8c4480a5cb0534027000cfbcb2c51e03d (diff) |
fix format string typos
Change-Id: I470463ecfdd2d8facef93e09d6265a9d7ed868c8
Reviewed-on: https://code.wireshark.org/review/2274
Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-ipdc.c')
-rw-r--r-- | epan/dissectors/packet-ipdc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ipdc.c b/epan/dissectors/packet-ipdc.c index 75add95093..d2845d4924 100644 --- a/epan/dissectors/packet-ipdc.c +++ b/epan/dissectors/packet-ipdc.c @@ -899,7 +899,7 @@ dissect_ipdc_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* d status = tvb_get_guint8(tvb,offset+2+i); proto_tree_add_uint_format(tag_tree, hf_ptr, tvb, offset + 2 + i, 1, status, - "s (0x%2.2x) %.2u: %u (%s)", + "%s (0x%2.2x) %.2u: %u (%s)", des, tag, i + 1, status, val_to_str_const(status, val_ptr, @@ -914,7 +914,7 @@ dissect_ipdc_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* d case IPDC_ENCTYPE: proto_tree_add_uint_format(tag_tree, hf_ipdc_enctype, tvb, offset, len + 2, tvb_get_guint8(tvb,offset+2), - "s (0x%2.2x): %s", + "%s (0x%2.2x): %s", des, tag, val_to_str_const( tvb_get_guint8(tvb,offset+2), encoding_type_vals, @@ -923,7 +923,7 @@ dissect_ipdc_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* d if (len == 2) { proto_tree_add_uint_format(tag_tree, hf_ipdc_enctype, tvb, offset, len + 2, tvb_get_guint8(tvb,offset+3), - "s (0x%2.2x): %u", + "%s (0x%2.2x): %u", des, tag, tvb_get_guint8(tvb,offset+3)); } break; |