Internal change

PiperOrigin-RevId: 413954176
Change-Id: Ie07c1c8d96019e1605ea3b9ed58030754954ee97
This commit is contained in:
Chris Kennelly 2021-12-03 09:33:57 -08:00 committed by Copybara-Service
parent e4ef46631d
commit e61a84979a

View File

@ -178,10 +178,7 @@ pid_t CloneAndJump(int flags, jmp_buf* env_ptr) {
"Host CPU architecture not supported, see config.h");
// Stack grows down.
void* stack = stack_buf + sizeof(stack_buf);
int r;
{
r = clone(&ChildFunc, stack, flags, env_ptr, nullptr, nullptr, nullptr);
}
int r = clone(&ChildFunc, stack, flags, env_ptr, nullptr, nullptr, nullptr);
if (r == -1) {
SAPI_RAW_PLOG(ERROR, "clone()");
}