diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-08 16:05:20 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-09 21:40:36 +0800 |
commit | 89476f5c8ffdaabada6dec3908fb6000c89f574f (patch) | |
tree | dc8094c1e6f51315db87f3c780d089e6ddffb972 | |
parent | b9a4fcfdaf54d21a0dc91910e7bff481f3ef82c1 (diff) |
GPRS: Fix compiler warning that will also lead to a crash at runtime.
-rw-r--r-- | openbsc/src/gprs/gprs_bssgp_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/gprs/gprs_bssgp_util.c b/openbsc/src/gprs/gprs_bssgp_util.c index 566ac4cf7..e760252bd 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; |