diff options
author | Michal Minar <miminar@redhat.com> | 2014-06-24 15:07:39 +0200 |
---|---|---|
committer | Michal Minar <miminar@redhat.com> | 2014-06-25 15:17:17 +0200 |
commit | bb9b0a15cb4c4de8ed59b0da13b6503b3a2508f4 (patch) | |
tree | 1b0ad7a54194c5de05a48bbe1b277ed001bbc14b /src/software-dbus/LMI_ResourceForSoftwareIdentityProvider.c | |
parent | bbe21b0f2a32be7e36310803549439eee7df4d53 (diff) | |
download | openlmi-providers-bb9b0a15cb4c4de8ed59b0da13b6503b3a2508f4.tar.gz openlmi-providers-bb9b0a15cb4c4de8ed59b0da13b6503b3a2508f4.tar.xz openlmi-providers-bb9b0a15cb4c4de8ed59b0da13b6503b3a2508f4.zip |
software-dbus: use common software init and cleanup
Each software provider shall use the same sw-common initialization and
cleanup function.
Diffstat (limited to 'src/software-dbus/LMI_ResourceForSoftwareIdentityProvider.c')
-rw-r--r-- | src/software-dbus/LMI_ResourceForSoftwareIdentityProvider.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/software-dbus/LMI_ResourceForSoftwareIdentityProvider.c b/src/software-dbus/LMI_ResourceForSoftwareIdentityProvider.c index dc119ca..1944f0b 100644 --- a/src/software-dbus/LMI_ResourceForSoftwareIdentityProvider.c +++ b/src/software-dbus/LMI_ResourceForSoftwareIdentityProvider.c @@ -26,7 +26,7 @@ static const CMPIBroker* _cb; static void LMI_ResourceForSoftwareIdentityInitialize(const CMPIContext *ctx) { - lmi_init(provider_name, _cb, ctx, provider_config_defaults); + software_init(provider_name, _cb, ctx, provider_config_defaults); } static CMPIStatus LMI_ResourceForSoftwareIdentityCleanup( @@ -34,7 +34,7 @@ static CMPIStatus LMI_ResourceForSoftwareIdentityCleanup( const CMPIContext* cc, CMPIBoolean term) { - CMReturn(CMPI_RC_OK); + return software_cleanup(); } static CMPIStatus k_return_rfsi(const gchar *pkg_id, |