openbsc[master]: tweak db debug log: log TMSI as hex
diff mbox

Message ID gerrit.1463841854964.I4564c99c145a35fb592c228c1fa84c61ec425fd3@gerrit.osmocom.org
State New
Headers show

Commit Message

gerrit-no-reply@lists.osmocom.org May 21, 2016, 2:44 p.m. UTC
Review at  https://gerrit.osmocom.org/94

tweak db debug log: log TMSI as hex

Change-Id: I4564c99c145a35fb592c228c1fa84c61ec425fd3
---
M openbsc/src/libmsc/db.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/94/94/1

Comments

gerrit-no-reply@lists.osmocom.org May 24, 2016, 1:59 p.m. UTC | #1
Patch Set 1: Code-Review+2

Patch
diff mbox

diff --git a/openbsc/src/libmsc/db.c b/openbsc/src/libmsc/db.c
index e5017ae..b555905 100644
--- a/openbsc/src/libmsc/db.c
+++ b/openbsc/src/libmsc/db.c
@@ -891,7 +891,7 @@ 
 	subscr->id = dbi_result_get_ulonglong(result, "id");
 
 	db_set_from_query(subscr, result);
-	DEBUGP(DDB, "Found Subscriber: ID %llu, IMSI %s, NAME '%s', TMSI %u, EXTEN '%s', LAC %hu, AUTH %u\n",
+	DEBUGP(DDB, "Found Subscriber: ID %llu, IMSI %s, NAME '%s', TMSI %x, EXTEN '%s', LAC %hu, AUTH %u\n",
 		subscr->id, subscr->imsi, subscr->name, subscr->tmsi, subscr->extension,
 		subscr->lac, subscr->authorized);
 	dbi_result_free(result);