Change in osmo-pcu[master]: csn1: Log CSN_VARIABLE_ARRAY values as hex

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Tue Nov 24 10:10:59 UTC 2020


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/21310 )


Change subject: csn1: Log CSN_VARIABLE_ARRAY values as hex
......................................................................

csn1: Log CSN_VARIABLE_ARRAY values as hex

Change-Id: If84c4b3cb870068a85405116f1d505ffcff9c26e
---
M src/csn1.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/10/21310/1

diff --git a/src/csn1.c b/src/csn1.c
index da67494..0a3c88c 100644
--- a/src/csn1.c
+++ b/src/csn1.c
@@ -1217,7 +1217,7 @@
           while (count > 0)
           {
 	    *pui8 = bitvec_read_field(vector, readIndex, 8);
-            LOGPC(DCSN1, LOGL_DEBUG, "%s = %u | ", pDescr->sz , (unsigned)*pui8);
+            LOGPC(DCSN1, LOGL_DEBUG, "%s = 0x%x | ", pDescr->sz , (unsigned)*pui8);
             pui8++;
             bit_offset += 8;
             count--;
@@ -2508,7 +2508,7 @@
           while (count > 0)
           {
 	    bitvec_write_field(vector, writeIndex, *pui8, 8);
-            LOGPC(DCSN1, LOGL_DEBUG, "%s = %u | ", pDescr->sz , (unsigned)*pui8);
+            LOGPC(DCSN1, LOGL_DEBUG, "%s = 0x%x | ", pDescr->sz , (unsigned)*pui8);
             pui8++;
             bit_offset += 8;
             remaining_bits_len -= 8;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/21310
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: If84c4b3cb870068a85405116f1d505ffcff9c26e
Gerrit-Change-Number: 21310
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201124/452c3f20/attachment.htm>


More information about the gerrit-log mailing list