init log early so that we create zmc_m.log instead of undef.log
parent
6041616efc
commit
0d347f0cf5
|
@ -187,8 +187,8 @@ int main(int argc, char *argv[]) {
|
||||||
snprintf(log_id_string, sizeof(log_id_string), "zmc_m%d", monitor_id);
|
snprintf(log_id_string, sizeof(log_id_string), "zmc_m%d", monitor_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
logInit(log_id_string);
|
||||||
zmLoadConfig();
|
zmLoadConfig();
|
||||||
|
|
||||||
logInit(log_id_string);
|
logInit(log_id_string);
|
||||||
|
|
||||||
hwcaps_detect();
|
hwcaps_detect();
|
||||||
|
|
Loading…
Reference in New Issue