diff options
author | Harald Welte <laforge@gnumonks.org> | 2019-05-21 01:14:24 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-05-24 00:02:34 +0200 |
commit | b07e271994f91c410930e09b8c504ae1a8df531f (patch) | |
tree | fdc9b9ba827f19caa8a211ef950c29a78bfed5b5 /src/common/sysinfo.c | |
parent | 482564b422096115aa9eaa2c6599fea9168b49e2 (diff) |
Use LOGPLCHAN whenever possible
There's no point in open-coding what LOGPLCHAN was created to do:
Log some event while stating the name of the logical channel.
Change-Id: I6913ac8fb543811126b85a54118333155c03bc03
Diffstat (limited to 'src/common/sysinfo.c')
-rw-r--r-- | src/common/sysinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/sysinfo.c b/src/common/sysinfo.c index 5c66e086..e4a05c87 100644 --- a/src/common/sysinfo.c +++ b/src/common/sysinfo.c @@ -172,6 +172,6 @@ uint8_t *lchan_sacch_get(struct gsm_lchan *lchan) lchan->si.last = tmp; return GSM_LCHAN_SI(lchan, tmp); } - LOGP(DL1P, LOGL_NOTICE, "%s SACCH no SI available\n", gsm_lchan_name(lchan)); + LOGPLCHAN(lchan, DL1P, LOGL_NOTICE, "SACCH no SI available\n"); return NULL; } |