3a9410
From d82e4473a66da27d2c6f41f8ecadacbd00f44430 Mon Sep 17 00:00:00 2001
3a9410
Message-Id: <d82e4473a66da27d2c6f41f8ecadacbd00f44430@dist-git>
3a9410
From: Boris Fiuczynski <fiuczy@linux.ibm.com>
3a9410
Date: Fri, 13 May 2022 12:31:00 +0200
3a9410
Subject: [PATCH] nodedev: fix reported error msg in css cap XML parsing
3a9410
3a9410
Signed-off-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
3a9410
Reviewed-by: Marc Hartmayer <mhartmay@linux.ibm.com>
3a9410
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
3a9410
(cherry picked from commit 78094a4bd1562fec73ae99c67ddcbedd83953d5c)
3a9410
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2165011
3a9410
Signed-off-by: Thomas Huth <thuth@redhat.com>
3a9410
---
3a9410
 src/conf/node_device_conf.c | 2 +-
3a9410
 1 file changed, 1 insertion(+), 1 deletion(-)
3a9410
3a9410
diff --git a/src/conf/node_device_conf.c b/src/conf/node_device_conf.c
3a9410
index 0bac0fde8d..a6ebf4b66f 100644
3a9410
--- a/src/conf/node_device_conf.c
3a9410
+++ b/src/conf/node_device_conf.c
3a9410
@@ -1193,7 +1193,7 @@ virNodeDevCapCCWParseXML(xmlXPathContextPtr ctxt,
3a9410
     if (virStrToLong_uip(ssid, NULL, 0, &ccw_dev->ssid) < 0) {
3a9410
         virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
3a9410
                        _("invalid ssid value '%s' for '%s'"),
3a9410
-                       cssid, def->name);
3a9410
+                       ssid, def->name);
3a9410
         return -1;
3a9410
     }
3a9410
 
3a9410
-- 
3a9410
2.39.1
3a9410