Error should create a log entry, not use printf().

This commit is contained in:
Thomas Dreibholz
2020-03-03 11:33:10 +01:00
parent 04789ff9f5
commit 34c118c03e
+2 -2
View File
@@ -2349,8 +2349,8 @@ void init_RU_proc(RU_t *ru) {
}
if (setup_RU_buffers(ru)!=0) {
printf("Exiting, cannot initialize RU Buffers\n");
exit(-1);
LOG_I(PHY,"Exiting, cannot initialize RU Buffers\n");
exit(1);
}
}