mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Report the reason why select unexpectedly failed..
This commit is contained in:
parent
79353ba0f7
commit
6bc56a5735
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=21639
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user