mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 22:02:43 +00:00
In reference to previous commit: use err(3).
Noticed by: bde
This commit is contained in:
parent
fefe985dc6
commit
7e5bbd6847
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103146
@ -648,10 +648,8 @@ main(argc, argv)
|
||||
fd_set rfds;
|
||||
|
||||
check_status();
|
||||
if (s >= FD_SETSIZE) {
|
||||
(void)fprintf(stderr, "descriptor too large");
|
||||
exit(EX_OSERR);
|
||||
}
|
||||
if (s >= FD_SETSIZE)
|
||||
errx(EX_OSERR, "descriptor too large");
|
||||
FD_ZERO(&rfds);
|
||||
FD_SET(s, &rfds);
|
||||
(void)gettimeofday(&now, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user