aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ipmi-se.c
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2008-10-31 15:47:47 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2008-10-31 15:47:47 +0000
commit2b96632c7537445a2c97856e4d5375bc3ba8b38d (patch)
tree356836a2f4be60de2f769615e60bacf6bf8399d1 /epan/dissectors/packet-ipmi-se.c
parent50b63025e0095d3f9eef022494ca7bd933eb4328 (diff)
Fix some "format not a string literal and no format arguments" warnings.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26649 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-ipmi-se.c')
-rw-r--r--epan/dissectors/packet-ipmi-se.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ipmi-se.c b/epan/dissectors/packet-ipmi-se.c
index 1e030c9349..79ab9b3ee5 100644
--- a/epan/dissectors/packet-ipmi-se.c
+++ b/epan/dissectors/packet-ipmi-se.c
@@ -2237,7 +2237,7 @@ rq11(tvbuff_t *tvb, proto_tree *tree)
val = tvb_get_guint8(tvb, 0);
proto_tree_add_uint_format(tree, hf_ipmi_se_11_rq_timeout, tvb, 0, 1,
- val, val_to_str(val, vals_11_pef_timer, "Arm Timer for: %d sec"));
+ val, "%s", val_to_str(val, vals_11_pef_timer, "Arm Timer for: %d sec"));
}
static void
@@ -2247,7 +2247,7 @@ rs11(tvbuff_t *tvb, proto_tree *tree)
val = tvb_get_guint8(tvb, 0);
proto_tree_add_uint_format(tree, hf_ipmi_se_11_rs_timeout, tvb, 0, 1,
- val, val_to_str(val, vals_11_pef_timer, "Present Timer Countdown value: %d sec"));
+ val, "%s", val_to_str(val, vals_11_pef_timer, "Present Timer Countdown value: %d sec"));
}
/* Set PEF Configuration Parameters.