Commit 16ac7b01 authored by Kenton Varda's avatar Kenton Varda

Fix warning.

parent 332960da
......@@ -282,11 +282,11 @@ TEST(AsyncIo, ScmRightsTruncatedOdd) {
auto capPipe = io.provider->newCapabilityPipe();
int pipeFds[2];
miniposix::pipe(pipeFds);
KJ_SYSCALL(miniposix::pipe(pipeFds));
kj::AutoCloseFd in1(pipeFds[0]);
kj::AutoCloseFd out1(pipeFds[1]);
miniposix::pipe(pipeFds);
KJ_SYSCALL(miniposix::pipe(pipeFds));
kj::AutoCloseFd in2(pipeFds[0]);
kj::AutoCloseFd out2(pipeFds[1]);
......@@ -345,15 +345,15 @@ TEST(AsyncIo, ScmRightsTruncatedEven) {
auto capPipe = io.provider->newCapabilityPipe();
int pipeFds[2];
miniposix::pipe(pipeFds);
KJ_SYSCALL(miniposix::pipe(pipeFds));
kj::AutoCloseFd in1(pipeFds[0]);
kj::AutoCloseFd out1(pipeFds[1]);
miniposix::pipe(pipeFds);
KJ_SYSCALL(miniposix::pipe(pipeFds));
kj::AutoCloseFd in2(pipeFds[0]);
kj::AutoCloseFd out2(pipeFds[1]);
miniposix::pipe(pipeFds);
KJ_SYSCALL(miniposix::pipe(pipeFds));
kj::AutoCloseFd in3(pipeFds[0]);
kj::AutoCloseFd out3(pipeFds[1]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment