diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2008-10-31 15:34:00 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2008-10-31 15:34:00 +0000 |
commit | e6a22e689e2577eb9a3b6f77de22ac540795a1a3 (patch) | |
tree | 351a05d6273d5d6c5ac0aac64831adad5c94186a /epan/dissectors/packet-osi-options.c | |
parent | bd08ae7ee6d05ef7ec145f68cc1471b2178f0b2f (diff) |
Fix some "format not a string literal and no format arguments" warnings.
svn path=/trunk/; revision=26648
Diffstat (limited to 'epan/dissectors/packet-osi-options.c')
-rw-r--r-- | epan/dissectors/packet-osi-options.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-osi-options.c b/epan/dissectors/packet-osi-options.c index f4b4c1a040..43be18ed1d 100644 --- a/epan/dissectors/packet-osi-options.c +++ b/epan/dissectors/packet-osi-options.c @@ -180,33 +180,33 @@ dissect_option_qos( const guchar type, const guchar sub_type, int offset, tmp_type = sub_type & OSI_OPT_QOS_SUB_RSVD; if ( tmp_type ) { - proto_tree_add_text( osi_qos_tree, tvb, offset, len, + proto_tree_add_text( osi_qos_tree, tvb, offset, len, "%s", val_to_str( tmp_type, osi_opt_qos_sub_vals, "Unknown (0x%x)") ); } tmp_type = sub_type & OSI_OPT_QOS_SUB_SEQ_VS_TRS; if ( tmp_type ) { - proto_tree_add_text( osi_qos_tree, tvb, offset, len, + proto_tree_add_text( osi_qos_tree, tvb, offset, len, "%s", val_to_str( tmp_type, osi_opt_qos_sub_vals, "Unknown (0x%x)") ); } tmp_type = sub_type &OSI_OPT_QOS_SUB_CONG_EXPED; if ( tmp_type ) { - proto_tree_add_text( osi_qos_tree, tvb, offset, len, + proto_tree_add_text( osi_qos_tree, tvb, offset, len, "%s", val_to_str( tmp_type, osi_opt_qos_sub_vals, "Unknown (0x%x)") ); } tmp_type = sub_type & OSI_OPT_QOS_SUB_TSD_VS_COST; if ( tmp_type ) { - proto_tree_add_text( osi_qos_tree, tvb, offset, len, + proto_tree_add_text( osi_qos_tree, tvb, offset, len, "%s", val_to_str( tmp_type, osi_opt_qos_sub_vals, "Unknown (0x%x)") ); } tmp_type = sub_type & OSI_OPT_QOS_SUB_RESERR_TRS; if ( tmp_type ) { - proto_tree_add_text( osi_qos_tree, tvb, offset, len, + proto_tree_add_text( osi_qos_tree, tvb, offset, len, "%s", val_to_str( tmp_type, osi_opt_qos_sub_vals, "Unknown (0x%x)") ); } tmp_type = sub_type & OSI_OPT_QOS_SUB_RESERR_COST; if ( tmp_type ) { - proto_tree_add_text( osi_qos_tree, tvb, offset, len, + proto_tree_add_text( osi_qos_tree, tvb, offset, len, "%s", val_to_str( tmp_type, osi_opt_qos_sub_vals, "Unknown (0x%x)") ); } } |