Print the error code. Supposedly B_NO_MEMORY, but one never knows.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27835 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
71662bf2cc
commit
e18bafbdb5
@ -998,7 +998,8 @@ team_create_thread_start(void *args)
|
||||
(void **)&t->user_stack_base, B_EXACT_ADDRESS, sizeLeft, B_NO_LOCK,
|
||||
B_READ_AREA | B_WRITE_AREA | B_STACK_AREA, 0);
|
||||
if (t->user_stack_area < 0) {
|
||||
dprintf("team_create_thread_start: could not create default user stack region\n");
|
||||
dprintf("team_create_thread_start: could not create default user stack "
|
||||
"region: %s\n", strerror(t->user_stack_area));
|
||||
|
||||
free_team_arg(teamArgs);
|
||||
return t->user_stack_area;
|
||||
|
Loading…
Reference in New Issue
Block a user