From 32a1068c3494c6164cff5d03cfa41424c529b1bc Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 3 Jun 2010 21:30:57 +0200 Subject: [PATCH] [GPRS] BSSGP: Fix formatting of BSSGP TX STATUS --- openbsc/src/gprs/gprs_bssgp_util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openbsc/src/gprs/gprs_bssgp_util.c b/openbsc/src/gprs/gprs_bssgp_util.c index d9b5175f..566ac4cf 100644 --- a/openbsc/src/gprs/gprs_bssgp_util.c +++ b/openbsc/src/gprs/gprs_bssgp_util.c @@ -101,7 +101,8 @@ int bssgp_tx_status(uint8_t cause, uint16_t *bvci, struct msgb *orig_msg) struct bssgp_normal_hdr *bgph = (struct bssgp_normal_hdr *) msgb_put(msg, sizeof(*bgph)); - DEBUGPC(DBSSGP, "BSSGP: TX STATUS, cause=%s\n", bssgp_cause_str(cause)); + DEBUGP(DBSSGP, LOGL_NOTICE, "BSSGP BVCI=%u Tx STATUS, cause=%s\n", + bvci ? *bvci : 0, bssgp_cause_str(cause)); msgb_nsei(msg) = msgb_nsei(orig_msg); msgb_bvci(msg) = 0;