diff options
author | Peter Schiffer <pschiffe@redhat.com> | 2014-05-07 19:02:29 +0200 |
---|---|---|
committer | Peter Schiffer <pschiffe@redhat.com> | 2014-05-09 12:22:09 +0200 |
commit | 82f17656c3ef7c7e2647b2d81aedac3757651c7c (patch) | |
tree | ec0ac81d9e545f19b0037875d7b0bce8f8af05ef /src/software-dbus/LMI_SystemSoftwareCollectionProvider.c | |
parent | db6b53b5c7c4e454f5c9ac78f82e3bd177f3ac91 (diff) | |
download | openlmi-providers-82f17656c3ef7c7e2647b2d81aedac3757651c7c.tar.gz openlmi-providers-82f17656c3ef7c7e2647b2d81aedac3757651c7c.tar.xz openlmi-providers-82f17656c3ef7c7e2647b2d81aedac3757651c7c.zip |
Software-dbus: embrace the new openlmi common library
Diffstat (limited to 'src/software-dbus/LMI_SystemSoftwareCollectionProvider.c')
-rw-r--r-- | src/software-dbus/LMI_SystemSoftwareCollectionProvider.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/software-dbus/LMI_SystemSoftwareCollectionProvider.c b/src/software-dbus/LMI_SystemSoftwareCollectionProvider.c index b4bc12f..7a840b9 100644 --- a/src/software-dbus/LMI_SystemSoftwareCollectionProvider.c +++ b/src/software-dbus/LMI_SystemSoftwareCollectionProvider.c @@ -54,10 +54,10 @@ static CMPIStatus LMI_SystemSoftwareCollectionEnumInstances( const CMPIObjectPath* cop, const char** properties) { - char instance_id[INSTANCE_ID_LEN] = ""; + char instance_id[BUFLEN] = ""; - create_instance_id(SYSTEM_SW_COLLECTION_CLASS_NAME, NULL, instance_id, - INSTANCE_ID_LEN); + create_instance_id(LMI_SystemSoftwareCollection_ClassName, NULL, instance_id, + BUFLEN); LMI_SystemSoftwareCollection w; LMI_SystemSoftwareCollection_Init(&w, _cb, KNameSpace(cop)); |