[SIGAR-72] close /proc/stat fp

This commit is contained in:
Doug MacEachern 2007-11-09 22:37:17 +00:00
parent 0883efd92c
commit cec8bcc400
1 changed files with 2 additions and 0 deletions

View File

@ -141,6 +141,8 @@ static int sigar_boot_time_get(sigar_t *sigar)
}
}
fclose(fp);
if (!found) {
/* should never happen */
sigar->boot_time = time(NULL);