diff options
author | martinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-06-28 17:25:58 +0000 |
---|---|---|
committer | martinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-06-28 17:25:58 +0000 |
commit | c91977fb230867e173f8cf7f04bc3e2f5976dee3 (patch) | |
tree | bd76c3d74a21bfaeee9b574caccce1326b4522d2 /epan/dissectors/packet-rlc-lte.c | |
parent | 87984e9e047b85124f767447dcc13120a67b48a4 (diff) |
Change a couple of format specifiers: %-nu looks better than %0nu here
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33353 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-rlc-lte.c')
-rw-r--r-- | epan/dissectors/packet-rlc-lte.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-rlc-lte.c b/epan/dissectors/packet-rlc-lte.c index 11ad6c2851..c270b654bd 100644 --- a/epan/dissectors/packet-rlc-lte.c +++ b/epan/dissectors/packet-rlc-lte.c @@ -1343,7 +1343,7 @@ static void dissect_rlc_lte_um(tvbuff_t *tvb, packet_info *pinfo, tap_info->sequenceNumber = (guint16)sn; /* Show SN in info column */ - write_pdu_label_and_info(top_ti, NULL, pinfo, " SN=%04u", (guint16)sn); + write_pdu_label_and_info(top_ti, NULL, pinfo, " SN=%-4u", (guint16)sn); proto_item_set_len(um_header_ti, offset-start_offset); @@ -1983,7 +1983,7 @@ void dissect_rlc_lte(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) val_to_str_const(p_rlc_lte_info->channelType, rlc_channel_type_vals, "Unknown")); } else { - write_pdu_label_and_info(top_ti, NULL, pinfo, "%s:%u", + write_pdu_label_and_info(top_ti, NULL, pinfo, "%s:%-2u", val_to_str_const(p_rlc_lte_info->channelType, rlc_channel_type_vals, "Unknown"), p_rlc_lte_info->channelId); } |