summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorShakeeb <shakeebbk@in.ibm.com>2016-08-23 00:39:08 -0500
committerAMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>2016-09-02 07:59:06 -0400
commit014fec673e29ba29e04df70cbed4e79c3ecc1135 (patch)
treef059e02eb87c01c3e343991e1134e29a152f360c /src
parentba7f9cc584351b770de629d4493712840a18ba9d (diff)
downloadtalos-sbe-014fec673e29ba29e04df70cbed4e79c3ecc1135.tar.gz
talos-sbe-014fec673e29ba29e04df70cbed4e79c3ecc1135.zip
Reset ffdc data length in constructor
Change-Id: I74c42fb2f4d4afc705e2624870f3e65f98f1c495 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28648 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/tools/scripts/parseErrorInfo.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/scripts/parseErrorInfo.pl b/src/tools/scripts/parseErrorInfo.pl
index 839a836c..06cdc63b 100755
--- a/src/tools/scripts/parseErrorInfo.pl
+++ b/src/tools/scripts/parseErrorInfo.pl
@@ -1250,7 +1250,8 @@ foreach my $argnum (0 .. $#ARGV)
{
print ECFILE " $class_name()\n";
print ECFILE " {\n\t\tfapi2::current_err = RC_$class_name;\n\t\tFAPI_ERR(\"$err->{description}\");\n";
- print ECFILE " \tfapi2::g_FfdcData.fapiRc = RC_$class_name;\n\t}\n\n";
+ print ECFILE " \tfapi2::g_FfdcData.fapiRc = RC_$class_name;\n";
+ print ECFILE " \tfapi2::g_FfdcData.ffdcLength = 0;\n\t}\n\n";
}
}
else
OpenPOWER on IntegriCloud