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:
parent
c11b1aba9e
commit
e94534521c
1 changed files with 1 additions and 1 deletions
|
@ -669,7 +669,7 @@ static void BootThread(void* /*user*/)
|
||||||
int status;
|
int status;
|
||||||
pid_t pid = CurrentProcess()->Wait(init->pid, &status, 0);
|
pid_t pid = CurrentProcess()->Wait(init->pid, &status, 0);
|
||||||
if ( pid != init->pid )
|
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);
|
status = WEXITSTATUS(status);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue