layer23/ccch_scan: Replace fprintf() with LOGP() and print SI-id

Signed-off-by: Steve Markgraf <steve@steve-m.de>
This commit is contained in:
Steve Markgraf 2011-11-22 18:34:58 +01:00
parent 50d58f9dd9
commit 937005e247
1 changed files with 2 additions and 1 deletions

View File

@ -161,7 +161,8 @@ static void dump_bcch(struct osmocom_ms *ms, uint8_t tc, const uint8_t *data)
case GSM48_MT_RR_SYSINFO_5ter:
break;
default:
fprintf(stderr, "\tUnknown SI");
LOGP(DRR, LOGL_ERROR, "Unknown SI: %d\n",
si_hdr->system_information);
break;
};
}