aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-elmi.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2017-04-02 20:08:15 +0200
committerAnders Broman <a.broman58@gmail.com>2017-04-03 05:32:17 +0000
commitd99112d39310c38798aae92a6db811d363ffc385 (patch)
tree8cea44e94736f7654986d4036a89a0d95f19c335 /epan/dissectors/packet-elmi.c
parenta3444529e5c1d4a3439e33cb449c70b399bf9205 (diff)
Use col_append_str() for fixed strings
Change from col_append_fstr() to col_append_str() when appending strings without formatting. Change-Id: I8975704c246f2b9a1301ed5f96273aa9d61c6f44 Reviewed-on: https://code.wireshark.org/review/20857 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-elmi.c')
-rw-r--r--epan/dissectors/packet-elmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-elmi.c b/epan/dissectors/packet-elmi.c
index 845892f5f4..bc00777f35 100644
--- a/epan/dissectors/packet-elmi.c
+++ b/epan/dissectors/packet-elmi.c
@@ -368,7 +368,7 @@ dissect_elmi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_
msg_type = tvb_get_guint8(tvb, offset);
proto_tree_add_item(elmi_tree, hf_elmi_msg_type,
tvb, offset, 1, ENC_BIG_ENDIAN);
- col_append_fstr(pinfo->cinfo, COL_INFO, "%s",
+ col_append_str(pinfo->cinfo, COL_INFO,
val_to_str(msg_type, elmi_msg_type, "unknown (0x%x)"));
offset++;