sblim-cmpi-base/sblim-cmpi-base-1.6.1-double-fclose.patch
DistroBaker d25deeb4bf Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/sblim-cmpi-base.git#11722b2d4b8fb375e4ffe28d82347e7412044350
2020-12-16 22:16:22 +00:00

12 lines
666 B
Diff

diff -up sblim-cmpi-base-1.6.1/OSBase_OperatingSystemStatisticalData.c.orig sblim-cmpi-base-1.6.1/OSBase_OperatingSystemStatisticalData.c
--- sblim-cmpi-base-1.6.1/OSBase_OperatingSystemStatisticalData.c.orig 2012-05-10 13:19:42.628416721 +0200
+++ sblim-cmpi-base-1.6.1/OSBase_OperatingSystemStatisticalData.c 2012-05-10 13:20:38.331706857 +0200
@@ -250,7 +250,6 @@ int get_cpu_queue_data_26(struct os_stat
} else {
_OSBASE_TRACE(1,("get_cpu_queue_data_26(): could not find cpu info"));
}
- fclose(f);
} else {
_OSBASE_TRACE(1,("get_cpu_queue_data_26(): could not open %s: %s",DATA_FILE,strerror(errno)));
}