In reference to previous commit: use err(3).

Noticed by:	bde
This commit is contained in:
Jacques Vidrine 2002-09-09 18:51:59 +00:00
parent fefe985dc6
commit 7e5bbd6847
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103146

View File

@ -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);