Skip to content

Commit

Permalink
spawn/ErrorPipe: use FileDescriptor::Write(iovec)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Nov 12, 2024
1 parent 6d5e9e3 commit d5d44a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spawn/ErrorPipe.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ WriteErrorPipe(FileDescriptor p, std::string_view prefix,
};

[[maybe_unused]]
auto nbytes = writev(p.Get(), v.data(), v.size());
auto nbytes = p.Write(v);
}

void
Expand Down

0 comments on commit d5d44a7

Please sign in to comment.