prefix fatal messages with FATAL

This commit is contained in:
Joris Vink 2021-11-03 17:22:53 +01:00
parent a7e1d1d22a
commit 155c7dfbde
1 changed files with 1 additions and 1 deletions

View File

@ -651,7 +651,7 @@ fatal_log(const char *fmt, va_list args)
char buf[2048];
(void)vsnprintf(buf, sizeof(buf), fmt, args);
kore_log(LOG_ERR, "%s", buf);
kore_log(LOG_ERR, "FATAL: %s", buf);
if (worker != NULL && worker->id == KORE_WORKER_KEYMGR)
kore_keymgr_cleanup(1);