Fix typo.

PiperOrigin-RevId: 557598808
Change-Id: I02ac71ca025be9a5e45011b1bbeb07a144b2e632
This commit is contained in:
Sandboxed API Team 2023-08-16 14:13:04 -07:00 committed by Copybara-Service
parent 034f24001e
commit 7d78b89777

View File

@ -40,7 +40,7 @@ void IPC::MapFd(int local_fd, int remote_fd) {
void IPC::MapDupedFd(int local_fd, int remote_fd) { void IPC::MapDupedFd(int local_fd, int remote_fd) {
const int dup_local_fd = dup(local_fd); const int dup_local_fd = dup(local_fd);
if (dup_local_fd != -1) { if (dup_local_fd == -1) {
PLOG(FATAL) << "dup(" << local_fd << ")"; PLOG(FATAL) << "dup(" << local_fd << ")";
} }
fd_map_.push_back(std::make_tuple(dup_local_fd, remote_fd, "")); fd_map_.push_back(std::make_tuple(dup_local_fd, remote_fd, ""));