Get rid of hand-rolled closefrom(3).

This commit is contained in:
Ed Schouten 2010-10-20 19:53:29 +00:00
parent ab05568beb
commit 587250b286
1 changed files with 1 additions and 2 deletions

View File

@ -233,8 +233,7 @@ main(int argc, char *argv[])
setproctitle("-%s", getprogname());
for (cnt = getdtablesize(); cnt > 2; cnt--)
(void)close(cnt);
closefrom(3);
/*
* Get current TTY