corrected format specifier to remove a warning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1258 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -49,7 +49,7 @@ int main()
|
|||||||
pid = sys_create_team("/boot/bin/shell", "/boot/bin/shell", NULL, 0, NULL, 0, 5);
|
pid = sys_create_team("/boot/bin/shell", "/boot/bin/shell", NULL, 0, NULL, 0, 5);
|
||||||
if(pid >= 0) {
|
if(pid >= 0) {
|
||||||
int retcode;
|
int retcode;
|
||||||
printf("init: spawned shell, pid 0x%x\n", pid);
|
printf("init: spawned shell, pid 0x%lx\n", pid);
|
||||||
sys_wait_on_team(pid, &retcode);
|
sys_wait_on_team(pid, &retcode);
|
||||||
printf("init: shell exited with return code %d\n", retcode);
|
printf("init: shell exited with return code %d\n", retcode);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user