Fixed some incorrect uses of printf-like functions.

This commit is contained in:
Kees van Reeuwijk
2010-04-01 14:30:36 +00:00
parent fc7dced1fa
commit 0a04f49d2b
4 changed files with 9 additions and 9 deletions

View File

@@ -34,7 +34,7 @@ PRIVATE void process_sigmgr_signals(void)
while (TRUE) {
/* Get an arbitrary pending signal. */
if((r=sys_getksig(&target, &sigset)) != OK)
panic("SEF", "sys_getksig failed", r);
panic("SEF: sys_getksig failed: %d", r);
if (target == NONE) {
/* Stop if there are no more pending signals. */
@@ -56,7 +56,7 @@ PRIVATE void process_sigmgr_signals(void)
/* Tell the kernel we are done if the target is still alive. */
if(r == OK) {
if((r=sys_endksig(target)) != OK)
panic("SEF","sys_endksig failed", r);
panic("SEF: sys_endksig failed :%d", r);
}
}
}