summaryrefslogtreecommitdiffstats
path: root/src/software-dbus/LMI_SoftwareIdentityProvider.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/software-dbus/LMI_SoftwareIdentityProvider.c')
-rw-r--r--src/software-dbus/LMI_SoftwareIdentityProvider.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/software-dbus/LMI_SoftwareIdentityProvider.c b/src/software-dbus/LMI_SoftwareIdentityProvider.c
index be22497..7e03bad 100644
--- a/src/software-dbus/LMI_SoftwareIdentityProvider.c
+++ b/src/software-dbus/LMI_SoftwareIdentityProvider.c
@@ -20,7 +20,7 @@
#include <konkret/konkret.h>
#include "LMI_SoftwareIdentity.h"
-#include "LMI_Software.h"
+#include "sw-utils.h"
static const CMPIBroker* _cb = NULL;
@@ -80,9 +80,7 @@ static CMPIStatus LMI_SoftwareIdentityGetInstance(
init_sw_package(&sw_pkg);
- if (create_sw_package_from_elem_name(get_str_property_from_op(cop,
- "InstanceID") + strlen(ORGID ":" ORGID "_" SW_IDENTITY_CLASS_NAME ":"),
- &sw_pkg) != 0) {
+ if (get_sw_pkg_from_sw_identity_op(cop, &sw_pkg) != 0) {
goto done;
}