Log: ensure fmt

This commit is contained in:
Megamouse 2022-04-24 14:35:01 +02:00
parent 1d40c06c19
commit e52386ccfb
2 changed files with 4 additions and 0 deletions

View file

@ -1989,6 +1989,8 @@ s32 error_code::error_report(s32 result, const char* fmt, const fmt_type_info* s
}
}
ensure(fmt);
logs::channel* channel = &sys_log;
const char* func = "Unknown function";