diff options
Diffstat (limited to 'src/hardware/LMI_MemoryProvider.c')
-rw-r--r-- | src/hardware/LMI_MemoryProvider.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/hardware/LMI_MemoryProvider.c b/src/hardware/LMI_MemoryProvider.c index e0dcfef..4626bea 100644 --- a/src/hardware/LMI_MemoryProvider.c +++ b/src/hardware/LMI_MemoryProvider.c @@ -24,7 +24,6 @@ #include <limits.h> #include "LMI_Memory.h" #include "LMI_Hardware.h" -#include "globals.h" #include "dmidecode.h" #include "procfs.h" #include "sysfs.h" @@ -85,7 +84,7 @@ static CMPIStatus LMI_MemoryEnumInstances( LMI_Memory_Set_SystemCreationClassName(&lmi_mem, get_system_creation_class_name()); LMI_Memory_Set_SystemName(&lmi_mem, get_system_name()); - LMI_Memory_Set_CreationClassName(&lmi_mem, ORGID "_" MEM_CLASS_NAME); + LMI_Memory_Set_CreationClassName(&lmi_mem, LMI_ORGID "_" MEM_CLASS_NAME); LMI_Memory_Set_DeviceID(&lmi_mem, "0"); LMI_Memory_Set_Volatile(&lmi_mem, 1); @@ -102,7 +101,7 @@ static CMPIStatus LMI_MemoryEnumInstances( LMI_Memory_Set_Description(&lmi_mem, "This object represents all memory available in system."); LMI_Memory_Set_InstanceID(&lmi_mem, - ORGID ":" ORGID "_" MEM_CLASS_NAME ":0"); + LMI_ORGID ":" LMI_ORGID "_" MEM_CLASS_NAME ":0"); LMI_Memory_Set_IsCompressed(&lmi_mem, 0); LMI_Memory_Set_Purpose(&lmi_mem, "The system memory is temporary storage " "area storing instructions and data required by processor " |