summaryrefslogtreecommitdiffstats
path: root/src/usr/diag
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/diag')
-rwxr-xr-xsrc/usr/diag/prdf/common/plat/prdfTargetServices.C4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/usr/diag/prdf/common/plat/prdfTargetServices.C b/src/usr/diag/prdf/common/plat/prdfTargetServices.C
index 8dc1b9fcf..1689014bf 100755
--- a/src/usr/diag/prdf/common/plat/prdfTargetServices.C
+++ b/src/usr/diag/prdf/common/plat/prdfTargetServices.C
@@ -868,6 +868,10 @@ TargetHandle_t getConnectedChild( TargetHandle_t i_target, TYPE i_connType,
{
itr = list.end(); // just in case it is not found
}
+ else
+ {
+ *itr = trgt;
+ }
}
else if ( TYPE_DMI == trgtType && TYPE_MEMBUF == i_connType )
{
OpenPOWER on IntegriCloud