fix printf argument index

Change-Id: I56aae95d61930c74ac9962225e1bcda72079595e
Reviewed-on: https://code.wireshark.org/review/2477
Reviewed-by: Evan Huus <eapache@gmail.com>
This commit is contained in:
Evan Huus 2014-06-20 00:12:38 -07:00
parent 28e8ce59cc
commit d91953f58f
1 changed files with 1 additions and 2 deletions

View File

@ -906,8 +906,7 @@ proto_tree_add_subtree(proto_tree *tree, tvbuff_t *tvb, gint start, gint length,
@param ... printf like parameters
@return the newly created tree */
proto_tree *
proto_tree_add_subtree_format(proto_tree *tree, tvbuff_t *tvb, gint start, gint length, gint idx, proto_item **tree_item, const char *format,
...) G_GNUC_PRINTF(5,6);
proto_tree_add_subtree_format(proto_tree *tree, tvbuff_t *tvb, gint start, gint length, gint idx, proto_item **tree_item, const char *format, ...) G_GNUC_PRINTF(7,8);
/** Add a text-only node to a proto_tree with tvb_format_text() string. */
proto_item *