diff options
author | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-10-31 15:11:57 +0000 |
---|---|---|
committer | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-10-31 15:11:57 +0000 |
commit | 00a29cec868ed438c860b79d88e0f9d0d08173de (patch) | |
tree | 41c9cc8212895bd68b8bcb172232f7d0e6a64c1e /epan/dissectors/packet-lpd.c | |
parent | 4c50b8ae34b235ebb339d90c820b37f02db485c2 (diff) |
Fix some "format not a string literal and no format arguments" warnings.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26647 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-lpd.c')
-rw-r--r-- | epan/dissectors/packet-lpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-lpd.c b/epan/dissectors/packet-lpd.c index 820fc47e0e..593bd24096 100644 --- a/epan/dissectors/packet-lpd.c +++ b/epan/dissectors/packet-lpd.c @@ -123,7 +123,7 @@ dissect_lpd(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) printer_len = find_printer_string(tvb, 1); if (code <= 9 && printer_len != -1) { - proto_tree_add_text(lpd_tree, tvb, 0, 1, + proto_tree_add_text(lpd_tree, tvb, 0, 1, "%s", val_to_str(code, lpd_client_code, "Unknown client code: %u")); proto_tree_add_text(lpd_tree, tvb, 1, printer_len, "Printer/options: %s", |