Commit 5f9cf70f authored by Poul-Henning Kamp's avatar Poul-Henning Kamp Committed by Lasse Karstensen

Fix typo spotted by fgs

parent c1f80131
......@@ -58,7 +58,7 @@ VSUB_closefrom(int fd)
#ifdef HAVE_CLOSEFROM
closefrom(fd);
#else
int i = sysconf(_SC_OPEN_MAX);
int i;
for (i = sysconf(_SC_OPEN_MAX); i > fd; i--)
(void)close(i);
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment