Type fix
git-svn-id: svn://svn.savannah.nongnu.org/lash/trunk@52 1de19dc7-4e3f-0410-a61d-eddf686bf0b7
This commit is contained in:
parent
4a75455683
commit
c2b2c7e9de
|
@ -203,8 +203,7 @@ lash_init(const lash_args_t * args,
|
|||
struct rlimit max_fds;
|
||||
getrlimit(RLIMIT_NOFILE, &max_fds);
|
||||
|
||||
int fd;
|
||||
for (fd = 3; fd < max_fds.rlim_cur; ++fd)
|
||||
for (rlim_t fd = 3; fd < max_fds.rlim_cur; ++fd)
|
||||
close(fd);
|
||||
|
||||
switch (fork()) {
|
||||
|
|
Loading…
Reference in New Issue