From bb9b0a15cb4c4de8ed59b0da13b6503b3a2508f4 Mon Sep 17 00:00:00 2001 From: Michal Minar Date: Tue, 24 Jun 2014 15:07:39 +0200 Subject: software-dbus: use common software init and cleanup Each software provider shall use the same sw-common initialization and cleanup function. --- src/software-dbus/LMI_InstalledSoftwareIdentityProvider.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/software-dbus/LMI_InstalledSoftwareIdentityProvider.c') diff --git a/src/software-dbus/LMI_InstalledSoftwareIdentityProvider.c b/src/software-dbus/LMI_InstalledSoftwareIdentityProvider.c index 79a9660..428515e 100644 --- a/src/software-dbus/LMI_InstalledSoftwareIdentityProvider.c +++ b/src/software-dbus/LMI_InstalledSoftwareIdentityProvider.c @@ -26,7 +26,7 @@ static const CMPIBroker* _cb; static void LMI_InstalledSoftwareIdentityInitialize(const CMPIContext *ctx) { - lmi_init(provider_name, _cb, ctx, provider_config_defaults); + software_init(provider_name, _cb, ctx, provider_config_defaults); } static CMPIStatus LMI_InstalledSoftwareIdentityCleanup( @@ -34,7 +34,7 @@ static CMPIStatus LMI_InstalledSoftwareIdentityCleanup( const CMPIContext* cc, CMPIBoolean term) { - CMReturn(CMPI_RC_OK); + return software_cleanup(); } static CMPIStatus enum_instances(const CMPIContext *ctx, const CMPIResult *cr, -- cgit