[Libvirt-cim] [PATCH] Fix build of ElementCapabilities

Dan Smith danms at us.ibm.com
Tue Nov 13 18:19:44 UTC 2007


# HG changeset patch
# User Dan Smith <danms at us.ibm.com>
# Date 1194981559 28800
# Node ID a596cc07e24c715faebb498b744637ce7467897c
# Parent  aad2a74321d54e26b5b2c89dc8df0e95bd1860f8
Fix build of ElementCapabilities

Signed-off-by: Dan Smith <danms at us.ibm.com>

diff -r aad2a74321d5 -r a596cc07e24c src/Virt_ElementCapabilities.c
--- a/src/Virt_ElementCapabilities.c	Tue Nov 13 11:14:14 2007 -0500
+++ b/src/Virt_ElementCapabilities.c	Tue Nov 13 11:19:19 2007 -0800
@@ -161,9 +161,9 @@ static CMPIStatus cap_to_cs(const CMPIOb
         }
 
         if (!parse_fq_devid(inst_id, &host, &device)) {
-                cu_status(_BROKER, &s, 
-                          CMPI_RC_ERR_FAILED,
-                          "Could not get system name.");
+                cu_statusf(_BROKER, &s, 
+                           CMPI_RC_ERR_FAILED,
+                           "Could not get system name.");
                 goto error1;
         }
 




More information about the Libvirt-cim mailing list