You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
474 B
15 lines
474 B
1 month ago
|
Index: OSBase_OperatingSystemStatisticalData.c
|
||
|
===================================================================
|
||
|
--- OSBase_OperatingSystemStatisticalData.c.orig
|
||
|
+++ OSBase_OperatingSystemStatisticalData.c
|
||
|
@@ -155,6 +155,7 @@ int get_cpu_page_data_24(struct os_stati
|
||
|
if ((f = fopen(DATA_FILE,"r")) != NULL) {
|
||
|
read_count = fread(buf,sizeof(char),sizeof(buf)-1,f);
|
||
|
buf[read_count] = '\0';
|
||
|
+ fclose(f);
|
||
|
|
||
|
/* read cpu data
|
||
|
*
|
||
|
|
||
|
|