summaryrefslogtreecommitdiffstats
path: root/src/build/buildpnor/genPnorImages.pl
diff options
context:
space:
mode:
authorLuis Fernandez <Luis.Fernandez@ibm.com>2019-09-03 13:42:05 -0500
committerWilliam G Hoffa <wghoffa@us.ibm.com>2019-09-04 07:51:22 -0500
commit163b6d07778e66dced5df6e800ebb43ef0b479f3 (patch)
tree4a0a22778724b168c9769edaa27f0398065f6a2f /src/build/buildpnor/genPnorImages.pl
parent5474e92000c9d0692dec2bbb8f095fe864d05e27 (diff)
downloadtalos-hostboot-163b6d07778e66dced5df6e800ebb43ef0b479f3.tar.gz
talos-hostboot-163b6d07778e66dced5df6e800ebb43ef0b479f3.zip
(Fix for:) Alert when a partition's space utilization exceeds a threshold
Fix for an earlier commit that is failing with a newer version of the PERL interpreter. Change-Id: I193e4712d5ac95f18bb2fe67efc11a955234b579 RTC: 212220 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/83204 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R Geddes <crgeddes@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E Bofferding <bofferdn@us.ibm.com> Reviewed-by: William G Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/build/buildpnor/genPnorImages.pl')
-rwxr-xr-xsrc/build/buildpnor/genPnorImages.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build/buildpnor/genPnorImages.pl b/src/build/buildpnor/genPnorImages.pl
index 142fd25f5..798c114f0 100755
--- a/src/build/buildpnor/genPnorImages.pl
+++ b/src/build/buildpnor/genPnorImages.pl
@@ -773,11 +773,11 @@ sub manipulateImages
# If section will passed through ecc, include this in size calculation
if( ($sectionHash{$layoutKey}{ecc} eq "yes") )
{
- $partitionUtilHash{$eyeCatch}{logicalFileSize} = %callerHwHdrFields->{totalContainerSize} * (9/8);
+ $partitionUtilHash{$eyeCatch}{logicalFileSize} = $callerHwHdrFields{totalContainerSize} * (9/8);
}
else
{
- $partitionUtilHash{$eyeCatch}{logicalFileSize} = %callerHwHdrFields->{totalContainerSize};
+ $partitionUtilHash{$eyeCatch}{logicalFileSize} = $callerHwHdrFields{totalContainerSize};
}
$partitionUtilHash{$eyeCatch}{pctUtilized} = sprintf("%.2f", $partitionUtilHash{$eyeCatch}{logicalFileSize} / $physicalRegionSize * 100);
$partitionUtilHash{$eyeCatch}{freeBytes} = $physicalRegionSize - $partitionUtilHash{$eyeCatch}{logicalFileSize};
OpenPOWER on IntegriCloud