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) ...@@ -58,7 +58,7 @@ VSUB_closefrom(int fd)
#ifdef HAVE_CLOSEFROM #ifdef HAVE_CLOSEFROM
closefrom(fd); closefrom(fd);
#else #else
int i = sysconf(_SC_OPEN_MAX); int i;
for (i = sysconf(_SC_OPEN_MAX); i > fd; i--) for (i = sysconf(_SC_OPEN_MAX); i > fd; i--)
(void)close(i); (void)close(i);
#endif #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