summaryrefslogtreecommitdiffstats
path: root/src/gsm/gsm0411_smr.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-12-01 12:51:34 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-12-06 11:58:33 +0100
commit68f9447744609177669444aae40eafc613fd18e1 (patch)
tree94b9de3a841bc35d929b5b4ff20c9d876467bd8d /src/gsm/gsm0411_smr.c
parentc1e9be95c20fb0517efcd5746e38fc95b4d9da14 (diff)
sms: Print 'network' or 'mobile' when creating the SMC/SMR
Diffstat (limited to 'src/gsm/gsm0411_smr.c')
-rw-r--r--src/gsm/gsm0411_smr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gsm/gsm0411_smr.c b/src/gsm/gsm0411_smr.c
index c6c85e1e..79d8111d 100644
--- a/src/gsm/gsm0411_smr.c
+++ b/src/gsm/gsm0411_smr.c
@@ -81,8 +81,8 @@ void gsm411_smr_init(struct gsm411_smr_inst *inst, uint64_t id, int network,
inst->rp_timer.cb = rp_timer_expired;
LOGP(DLSMS, LOGL_INFO,
- SMR_LOG_STR "instance created for %d\n",
- inst->id, inst->network);
+ SMR_LOG_STR "instance created for %s.\n",
+ inst->id, inst->network ? "network" : "mobile");
}
/* clear instance */