--- lib/checkpw.c 2010-01-25 11:51:58.000000000 +0100 +++ lib/checkpw.c 2010-01-25 11:52:17.000000000 +0100 @@ -487,6 +487,7 @@ errno = ETIMEDOUT; return -1; case +1: + case +2: if (FD_ISSET(fd, &rfds)) { /* Success, file descriptor is readable. */ return 0;