--- 2.2.12-final/fs/select.c Tue Aug 17 22:42:50 1999 +++ /tmp/select.c Wed Aug 18 11:14:11 1999 @@ -280,8 +280,8 @@ if (n < 0) goto out_nofds; - if (n > current->files->max_fdset + 1) - n = current->files->max_fdset + 1; + if (n > current->files->max_fdset) + n = current->files->max_fdset; /* * We need 6 bitmaps (in/out/ex for both incoming and outgoing),