1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Fix unportable pid_t printing in sortix/kernel.cpp.

This commit is contained in:
Jonas 'Sortie' Termansen 2014-02-20 16:49:42 +01:00
parent c11b1aba9e
commit e94534521c

View file

@ -669,7 +669,7 @@ static void BootThread(void* /*user*/)
int status;
pid_t pid = CurrentProcess()->Wait(init->pid, &status, 0);
if ( pid != init->pid )
PanicF("Waiting for init to exit returned %i (errno=%i)", pid, errno);
PanicF("Waiting for init to exit returned %ji (errno=%i)", (intmax_t) pid, errno);
status = WEXITSTATUS(status);