Report the reason why select unexpectedly failed..

This commit is contained in:
peter 1997-01-13 02:34:56 +00:00
parent c59e571395
commit d4f1bf1349

View File

@ -1017,7 +1017,7 @@ process_rings(netin, netout, netex, ttyin, ttyout, poll)
}
# endif /* defined(TN3270) */
/* I don't like this, does it ever happen? */
printf("sleep(5) from telnet, after select\r\n");
printf("sleep(5) from telnet, after select: %s\r\n", strerror(errno));
sleep(5);
}
return 0;