diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2008-10-31 17:27:51 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2008-10-31 17:27:51 +0000 |
commit | 94e9e2b1ec8fe12b927fb0ec09b976982c5a5369 (patch) | |
tree | 61564ff05bf6ae519f338ce421d74eecceb6b287 /plugins/wimaxasncp/packet-wimaxasncp.c | |
parent | 41c04a5599f5973358b5b9ef5bfc135f10baceae (diff) |
Fix some "format not a string literal and no format arguments" warnings.
svn path=/trunk/; revision=26652
Diffstat (limited to 'plugins/wimaxasncp/packet-wimaxasncp.c')
-rw-r--r-- | plugins/wimaxasncp/packet-wimaxasncp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/wimaxasncp/packet-wimaxasncp.c b/plugins/wimaxasncp/packet-wimaxasncp.c index 22387d5d57..3beeddadea 100644 --- a/plugins/wimaxasncp/packet-wimaxasncp.c +++ b/plugins/wimaxasncp/packet-wimaxasncp.c @@ -1468,18 +1468,18 @@ static void wimaxasncp_dissect_tlv_value( /* Add code and type to info column */ if (check_col(pinfo->cinfo, COL_INFO)) { - col_append_fstr(pinfo->cinfo, COL_INFO, " ["); - col_append_fstr(pinfo->cinfo, COL_INFO, + col_append_str(pinfo->cinfo, COL_INFO, " ["); + col_append_str(pinfo->cinfo, COL_INFO, val_to_str(eap_code, eap_code_vals, "Unknown code (0x%02X)")); if (eap_code == EAP_REQUEST || eap_code == EAP_RESPONSE) { - col_append_fstr(pinfo->cinfo, COL_INFO, ", "); - col_append_fstr(pinfo->cinfo, COL_INFO, + col_append_str(pinfo->cinfo, COL_INFO, ", "); + col_append_str(pinfo->cinfo, COL_INFO, val_to_str(eap_type, eap_type_vals, "Unknown type (0x%02X)")); } - col_append_fstr(pinfo->cinfo, COL_INFO, "]"); + col_append_str(pinfo->cinfo, COL_INFO, "]"); } |