summaryrefslogtreecommitdiffstats
path: root/src/usr/hdat
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/hdat')
-rw-r--r--src/usr/hdat/hdatutil.C6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/hdat/hdatutil.C b/src/usr/hdat/hdatutil.C
index 4d95fbc8f..b0ce7b5f3 100644
--- a/src/usr/hdat/hdatutil.C
+++ b/src/usr/hdat/hdatutil.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2015,2016 */
+/* Contributors Listed Below - COPYRIGHT 2015,2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -145,12 +145,12 @@ errlHndl_t hdatGetIdEc(const Target *i_pTarget,
if(i_pTarget->getAttr<TARGETING::ATTR_CLASS>() != TARGETING::CLASS_CHIP)
{
l_pCTarget = getParentChip(i_pTarget);
- o_ecLevel = l_pCTarget->getAttr<TARGETING::ATTR_EC>();
+ o_ecLevel = l_pCTarget->getAttr<TARGETING::ATTR_HDAT_EC>();
o_chipId = l_pCTarget->getAttr<TARGETING::ATTR_CHIP_ID>();
}
else
{
- o_ecLevel = i_pTarget->getAttr<TARGETING::ATTR_EC>();
+ o_ecLevel = i_pTarget->getAttr<TARGETING::ATTR_HDAT_EC>();
o_chipId = i_pTarget->getAttr<TARGETING::ATTR_CHIP_ID>();
}
}
OpenPOWER on IntegriCloud