summaryrefslogtreecommitdiffstats
path: root/src/hardware/LMI_MemoryPhysicalPackageProvider.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hardware/LMI_MemoryPhysicalPackageProvider.c')
-rw-r--r--src/hardware/LMI_MemoryPhysicalPackageProvider.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/hardware/LMI_MemoryPhysicalPackageProvider.c b/src/hardware/LMI_MemoryPhysicalPackageProvider.c
index fc82af1..e277fc1 100644
--- a/src/hardware/LMI_MemoryPhysicalPackageProvider.c
+++ b/src/hardware/LMI_MemoryPhysicalPackageProvider.c
@@ -21,7 +21,6 @@
#include <konkret/konkret.h>
#include "LMI_MemoryPhysicalPackage.h"
#include "LMI_Hardware.h"
-#include "globals.h"
#include "dmidecode.h"
static const CMPIBroker* _cb = NULL;
@@ -70,7 +69,7 @@ static CMPIStatus LMI_MemoryPhysicalPackageEnumInstances(
LMI_MemoryPhysicalPackage_Init(&lmi_phys_mem_pkg, _cb, ns);
LMI_MemoryPhysicalPackage_Set_CreationClassName(&lmi_phys_mem_pkg,
- ORGID "_" MEMORY_PHYS_PKG_CLASS_NAME);
+ LMI_ORGID "_" MEMORY_PHYS_PKG_CLASS_NAME);
LMI_MemoryPhysicalPackage_Set_PackageType(&lmi_phys_mem_pkg,
LMI_MemoryPhysicalPackage_PackageType_Memory);
LMI_MemoryPhysicalPackage_Set_Caption(&lmi_phys_mem_pkg,
@@ -79,7 +78,7 @@ static CMPIStatus LMI_MemoryPhysicalPackageEnumInstances(
"This object represents one physical memory package in system.");
snprintf(instance_id, INSTANCE_ID_LEN,
- ORGID ":" ORGID "_" MEMORY_PHYS_PKG_CLASS_NAME ":%s",
+ LMI_ORGID ":" LMI_ORGID "_" MEMORY_PHYS_PKG_CLASS_NAME ":%s",
dmi_memory.modules[i].serial_number);
LMI_MemoryPhysicalPackage_Set_Tag(&lmi_phys_mem_pkg,