summaryrefslogtreecommitdiffstats
path: root/src/usr/util/utillidmgr.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/util/utillidmgr.C')
-rw-r--r--src/usr/util/utillidmgr.C5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usr/util/utillidmgr.C b/src/usr/util/utillidmgr.C
index ebff8d77c..73cac29b0 100644
--- a/src/usr/util/utillidmgr.C
+++ b/src/usr/util/utillidmgr.C
@@ -83,7 +83,7 @@ errlHndl_t UtilLidMgr::getLidSize(size_t& o_lidSize)
iv_lidSize = o_lidSize;
break;
}
-
+
//if we get here, it means we didn't find the LID in PNOR, so
//ask the FSP for it.
@@ -394,7 +394,8 @@ errlHndl_t UtilLidMgr::getLid(void* i_dest, size_t i_destSize)
Util::UTIL_LIDMGR_INVAL_DATA,
TWO_UINT32_TO_UINT64(curLid,
iv_lidId),
- TWO_UINT32_TO_UINT64(*(dataPtr),
+ TWO_UINT32_TO_UINT64(
+ NULL != dataPtr ? *(dataPtr) : 0,
0)
);
OpenPOWER on IntegriCloud