aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2016-07-24 15:08:29 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2016-07-25 16:38:18 +0200
commit2479ef4133b274df9abe179320ee9b11cb572ba4 (patch)
treea8a1484c104212d8d229c2bb6aecf9b256748676
parentae65ccd0b2fe22e3c6ab5c855ff948f93ada0eed (diff)
info log: l1sap.c: add '0x' to hex output
-rw-r--r--src/common/l1sap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index 5ea2a2c..d73715b 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -450,7 +450,7 @@ static int l1sap_info_act_cnf(struct gsm_bts_trx *trx,
{
struct gsm_lchan *lchan;
- LOGP(DL1P, LOGL_INFO, "activate confirm chan_nr=%02x trx=%d\n",
+ LOGP(DL1P, LOGL_INFO, "activate confirm chan_nr=0x%02x trx=%d\n",
info_act_cnf->chan_nr, trx->nr);
lchan = get_lchan_by_chan_nr(trx, info_act_cnf->chan_nr);
@@ -1092,7 +1092,7 @@ int l1sap_chan_act(struct gsm_bts_trx *trx, uint8_t chan_nr, struct tlv_parsed *
struct gsm48_chan_desc *cd;
int rc;
- LOGP(DL1P, LOGL_INFO, "activating channel chan_nr=%02x trx=%d\n",
+ LOGP(DL1P, LOGL_INFO, "activating channel chan_nr=0x%02x trx=%d\n",
chan_nr, trx->nr);
/* osmo-pcu calls this without a valid 'tp' parameter, so we