summaryrefslogtreecommitdiffstats
path: root/src/hardware/LMI_ProcessorCacheMemoryProvider.c
diff options
context:
space:
mode:
authorPeter Schiffer <pschiffe@redhat.com>2013-04-23 15:43:40 +0200
committerPeter Schiffer <pschiffe@redhat.com>2013-04-23 15:43:40 +0200
commit1e4187b50657065445a33148bfb2224005fb0dff (patch)
treebe2a363d74215eab1c98be2776b408dfc98cff23 /src/hardware/LMI_ProcessorCacheMemoryProvider.c
parente229f6f4752c30c4fb48c429174f81bbda02242d (diff)
downloadopenlmi-providers-1e4187b50657065445a33148bfb2224005fb0dff.tar.gz
openlmi-providers-1e4187b50657065445a33148bfb2224005fb0dff.tar.xz
openlmi-providers-1e4187b50657065445a33148bfb2224005fb0dff.zip
Hardware: Added Physical Memory Provider
New Providers: * LMI_PhysicalMemoryProvider * LMI_PhysicalMemoryRealizesProvider Other Changes: * Fixed InstanceID in hardware to match the rest of the providers * Removed some unused variables
Diffstat (limited to 'src/hardware/LMI_ProcessorCacheMemoryProvider.c')
-rw-r--r--src/hardware/LMI_ProcessorCacheMemoryProvider.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hardware/LMI_ProcessorCacheMemoryProvider.c b/src/hardware/LMI_ProcessorCacheMemoryProvider.c
index 030ddd1..9fe0230 100644
--- a/src/hardware/LMI_ProcessorCacheMemoryProvider.c
+++ b/src/hardware/LMI_ProcessorCacheMemoryProvider.c
@@ -120,7 +120,7 @@ static CMPIStatus LMI_ProcessorCacheMemoryEnumInstances(
/* do we have dmidecode output? */
if (dmi_cpu_caches_nb > 0) {
snprintf(instance_id, INSTANCE_ID_LEN,
- ORGID ":" CPU_CACHE_CLASS_NAME ":%s",
+ ORGID ":" ORGID "_" CPU_CACHE_CLASS_NAME ":%s",
dmi_cpu_caches[i].id);
LMI_ProcessorCacheMemory_Set_DeviceID(&lmi_cpu_cache,
@@ -136,7 +136,7 @@ static CMPIStatus LMI_ProcessorCacheMemoryEnumInstances(
get_cachestatus(dmi_cpu_caches[i].status));
} else {
snprintf(instance_id, INSTANCE_ID_LEN,
- ORGID ":" CPU_CACHE_CLASS_NAME ":%s",
+ ORGID ":" ORGID "_" CPU_CACHE_CLASS_NAME ":%s",
sysfs_cpu_caches[i].id);
LMI_ProcessorCacheMemory_Set_DeviceID(&lmi_cpu_cache,