Skip to content

Commit

Permalink
SAPI_RAW_CHECK expects NUL-terminated strings
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 586244294
Change-Id: I85492eb2f4833a1b31312981265ad3d715dfaa72
  • Loading branch information
happyCoder92 authored and copybara-github committed Nov 29, 2023
1 parent a0ba1c5 commit 5ed720e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sandboxed_api/sandbox2/global_forkclient.cc
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ void GlobalForkClient::ForceStart() {
"already running");
absl::StatusOr<std::unique_ptr<GlobalForkClient>> forkserver =
StartGlobalForkServer();
SAPI_RAW_CHECK(forkserver.ok(), forkserver.status().message().data());
SAPI_RAW_CHECK(forkserver.ok(), forkserver.status().ToString().c_str());
instance_ = forkserver->release();
}

Expand Down

0 comments on commit 5ed720e

Please sign in to comment.