summaryrefslogtreecommitdiff
path: root/src/conn-tools
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2014-12-20 01:14:47 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2014-12-20 01:14:47 +0000
commit6b19ed8bd19de2da6c33e0ee470da80536ce97e8 (patch)
tree26de2f1784570035352f66e2317d29799a4e79d2 /src/conn-tools
parentb4794e59c5acfb3d9103bc8732295adb47643346 (diff)
downloads6-networking-6b19ed8bd19de2da6c33e0ee470da80536ce97e8.tar.xz
s6-ioconnect fix
Diffstat (limited to 'src/conn-tools')
-rw-r--r--src/conn-tools/s6-ioconnect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conn-tools/s6-ioconnect.c b/src/conn-tools/s6-ioconnect.c
index 747a583..a0217bb 100644
--- a/src/conn-tools/s6-ioconnect.c
+++ b/src/conn-tools/s6-ioconnect.c
@@ -145,7 +145,7 @@ int main (int argc, char const *const *argv)
if (x[0].revents & IOPAUSE_READ) handle_signals() ;
- for (i = 0 ; i < 2 ; i++) if (a[i][1].xindex < 4)
+ for (i = 0 ; i < 2 ; i++) if (a[i][1].xindex < 5)
{
if (x[a[i][1].xindex].revents & IOPAUSE_WRITE)
{
@@ -166,7 +166,7 @@ int main (int argc, char const *const *argv)
}
}
- for (i = 0 ; i < 2 ; i++) if (a[i][0].xindex < 4)
+ for (i = 0 ; i < 2 ; i++) if (a[i][0].xindex < 5)
{
if (x[a[i][0].xindex].revents & IOPAUSE_READ)
{