aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-06-03 21:30:57 +0200
committerHarald Welte <laforge@gnumonks.org>2010-06-03 21:30:57 +0200
commit3a7074615fc509aeafef59d9a2d29d7294cd81ad (patch)
tree240ad5ef8a0fa6188634173015b3df2a3b0dc08d
parentce22f92b6ccdbccdb90ed76291a53d26f93d7424 (diff)
[GPRS] BSSGP: Fix formatting of BSSGP TX STATUS
-rw-r--r--openbsc/src/gprs/gprs_bssgp_util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/src/gprs/gprs_bssgp_util.c b/openbsc/src/gprs/gprs_bssgp_util.c
index d9b5175f6..566ac4cf7 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;