Fix compiler warning: "format not a string literal and no format arguments"

svn path=/trunk/; revision=43509
This commit is contained in:
Bill Meier 2012-06-27 14:44:00 +00:00
parent e42127ce00
commit 9c9d57321f
1 changed files with 2 additions and 2 deletions

View File

@ -188,10 +188,10 @@ expert_set_info_vformat(packet_info *pinfo, proto_item *pi, int group, int sever
ti = proto_tree_add_string(tree, hf_expert_msg, NULL, 0, 0, formatted);
PROTO_ITEM_SET_GENERATED(ti);
ti = proto_tree_add_uint_format_value(tree, hf_expert_severity, NULL, 0, 0, severity,
val_to_str_const(severity, expert_severity_vals, "Unknown"));
"%s", val_to_str_const(severity, expert_severity_vals, "Unknown"));
PROTO_ITEM_SET_GENERATED(ti);
ti = proto_tree_add_uint_format_value(tree, hf_expert_group, NULL, 0, 0, group,
val_to_str_const(group, expert_group_vals, "Unknown"));
"%s", val_to_str_const(group, expert_group_vals, "Unknown"));
PROTO_ITEM_SET_GENERATED(ti);
tap = have_tap_listener(expert_tap);