From 8e2e78ecc22d9fb011f6fd451a089d5d373aa49b Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 8 Jun 2010 16:05:20 +0800 Subject: GPRS: Fix compiler warning that will also lead to a crash at runtime. --- openbsc/src/gprs/gprs_bssgp_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/src') diff --git a/openbsc/src/gprs/gprs_bssgp_util.c b/openbsc/src/gprs/gprs_bssgp_util.c index 566ac4cf..e760252b 100644 --- a/openbsc/src/gprs/gprs_bssgp_util.c +++ b/openbsc/src/gprs/gprs_bssgp_util.c @@ -101,7 +101,7 @@ 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)); - DEBUGP(DBSSGP, LOGL_NOTICE, "BSSGP BVCI=%u Tx STATUS, cause=%s\n", + LOGP(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; -- cgit v1.2.3