summaryrefslogtreecommitdiffstats
path: root/src/hardware/LMI_ProcessorCacheMemoryProvider.c
diff options
context:
space:
mode:
authorPeter Schiffer <pschiffe@redhat.com>2013-04-10 17:48:05 +0200
committerPeter Schiffer <pschiffe@redhat.com>2013-04-10 18:00:05 +0200
commite396c654923edb1ad990246a48543324404241ab (patch)
tree15da2a9c99a32df813489ccf66fdc43923384706 /src/hardware/LMI_ProcessorCacheMemoryProvider.c
parent699a49933d2b2690888f719a447682d85c9942b0 (diff)
downloadopenlmi-providers-e396c654923edb1ad990246a48543324404241ab.tar.gz
openlmi-providers-e396c654923edb1ad990246a48543324404241ab.tar.xz
openlmi-providers-e396c654923edb1ad990246a48543324404241ab.zip
Hardware: Added Processor Chip Provider
Added two new providers: * LMI_ProcessorChipProvider * LMI_ProcessorChipRealizesProvider Other Changes: * Added Association qualifier to the association classes in Hardware mof file * Removed initialization for static strings used in snprintf() function
Diffstat (limited to 'src/hardware/LMI_ProcessorCacheMemoryProvider.c')
-rw-r--r--src/hardware/LMI_ProcessorCacheMemoryProvider.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hardware/LMI_ProcessorCacheMemoryProvider.c b/src/hardware/LMI_ProcessorCacheMemoryProvider.c
index ca45b67..afc5d7f 100644
--- a/src/hardware/LMI_ProcessorCacheMemoryProvider.c
+++ b/src/hardware/LMI_ProcessorCacheMemoryProvider.c
@@ -60,7 +60,7 @@ static CMPIStatus LMI_ProcessorCacheMemoryEnumInstances(
{
LMI_ProcessorCacheMemory lmi_cpu_cache;
const char *ns = KNameSpace(cop);
- char *error_msg = NULL, instance_id[INSTANCE_ID_LEN] = "";
+ char *error_msg = NULL, instance_id[INSTANCE_ID_LEN];
unsigned i, caches = 0;
DmiCpuCache *dmi_cpu_caches = NULL;
unsigned dmi_cpu_caches_nb = 0;