Blame SOURCES/0003-IBM-PowerNV.patch

ff36e7
From fa74ac417db68e7788e46290743ff77e539903de Mon Sep 17 00:00:00 2001
ff36e7
From: Lyonel Vincent <lyonel@ezix.org>
ff36e7
Date: Sat, 14 Feb 2015 10:28:25 +0000
ff36e7
Subject: [PATCH 1/1] proper fix for #676
ff36e7
ff36e7
git-svn-id: http://ezix.org/source/packages/lshw/development@2573 811e2811-9fd9-0310-a116-b6e8ac943c8b
ff36e7
---
ff36e7
 src/core/hw.cc | 2 +-
ff36e7
 1 file changed, 1 insertion(+), 1 deletion(-)
ff36e7
ff36e7
diff --git a/src/core/hw.cc b/src/core/hw.cc
ff36e7
index 4465c19..e2559ff 100644
ff36e7
--- a/src/core/hw.cc
ff36e7
+++ b/src/core/hw.cc
ff36e7
@@ -622,7 +622,7 @@ hwNode *hwNode::getChild(const string & id)
ff36e7
   }
ff36e7
 
ff36e7
   for (unsigned int i = 0; i < This->children.size(); i++)
ff36e7
-    if (This->children[i].getId() == baseid)
ff36e7
+    if (This->children[i].getId() == cleanupId(baseid))
ff36e7
   {
ff36e7
     if (path == "")
ff36e7
       return &(This->children[i]);
ff36e7
-- 
ff36e7
2.4.3
ff36e7