PF handler: fix up various error msgs

This commit is contained in:
Balazs Gerofi
2016-08-18 07:31:25 +09:00
parent f5857cfc9e
commit 5fd68eae54
3 changed files with 8 additions and 9 deletions

View File

@ -110,6 +110,7 @@ int __kprintf(const char *format, ...)
char buf[KPRINTF_LOCAL_BUF_LEN];
/* Copy into the local buf */
len = sprintf(buf, "[%3d]: ", ihk_mc_get_processor_id());
va_start(va, format);
len += vsnprintf(buf + len, KPRINTF_LOCAL_BUF_LEN - len - 2, format, va);
va_end(va);