add missing fclose's

Signed-off-by: Alexey Fomenko <ext-alexey.fomenko@nokia.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Alexey Fomenko 2011-03-02 04:01:24 +01:00 committed by Denys Vlasenko
parent b80acf58f1
commit 708dd4c986

View File

@ -537,6 +537,7 @@ void FAST_FUNC bb_displayroutes(int noresolve, int netstatfmt)
printf("%-6d %-2d %7d %s\n", metric, ref, use, devname);
}
}
fclose(fp);
}
#if ENABLE_FEATURE_IPV6
@ -625,6 +626,7 @@ static void INET6_displayroutes(void)
}
} while (1);
}
fclose(fp);
}
#endif