mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Fix typo.
PiperOrigin-RevId: 557598808 Change-Id: I02ac71ca025be9a5e45011b1bbeb07a144b2e632
This commit is contained in:
parent
034f24001e
commit
7d78b89777
|
@ -40,7 +40,7 @@ void IPC::MapFd(int local_fd, int remote_fd) {
|
|||
|
||||
void IPC::MapDupedFd(int local_fd, int remote_fd) {
|
||||
const int dup_local_fd = dup(local_fd);
|
||||
if (dup_local_fd != -1) {
|
||||
if (dup_local_fd == -1) {
|
||||
PLOG(FATAL) << "dup(" << local_fd << ")";
|
||||
}
|
||||
fd_map_.push_back(std::make_tuple(dup_local_fd, remote_fd, ""));
|
||||
|
|
Loading…
Reference in New Issue
Block a user