summaryrefslogtreecommitdiffstats
path: root/src/usr/errl/parser
diff options
context:
space:
mode:
authorRichard J. Knight <rjknight@us.ibm.com>2012-10-16 00:13:25 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-11-03 14:39:41 -0500
commit0fb4ee347957ceb2b58a200551fe6cf2cc212e74 (patch)
tree14efe53094c44be5beb1afe62be4b65bf143014f /src/usr/errl/parser
parent5aa9bef02647193eed4ce4d26851bd5d79c87c01 (diff)
downloadtalos-hostboot-0fb4ee347957ceb2b58a200551fe6cf2cc212e74.tar.gz
talos-hostboot-0fb4ee347957ceb2b58a200551fe6cf2cc212e74.zip
Return error when procedures fail during istep
Change-Id: I65686d261583ea84c7908f819071bd751fdb0e06 RTC: 39876 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1627 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: Paul Nguyen <nguyenp@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/errl/parser')
-rw-r--r--src/usr/errl/parser/errlparser.C52
1 files changed, 26 insertions, 26 deletions
diff --git a/src/usr/errl/parser/errlparser.C b/src/usr/errl/parser/errlparser.C
index 20fcac589..801da1635 100644
--- a/src/usr/errl/parser/errlparser.C
+++ b/src/usr/errl/parser/errlparser.C
@@ -1,25 +1,25 @@
-// IBM_PROLOG_BEGIN_TAG
-// This is an automatically generated prolog.
-//
-// $Source: src/usr/errl/parser/errlparser.C $
-//
-// IBM CONFIDENTIAL
-//
-// COPYRIGHT International Business Machines Corp. 2011
-//
-// p1
-//
-// Object Code Only (OCO) source materials
-// Licensed Internal Code Source Materials
-// IBM HostBoot Licensed Internal Code
-//
-// The source code for this program is not published or other-
-// wise divested of its trade secrets, irrespective of what has
-// been deposited with the U.S. Copyright Office.
-//
-// Origin: 30
-//
-// IBM_PROLOG_END
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/usr/errl/parser/errlparser.C $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* COPYRIGHT International Business Machines Corp. 2011,2012 */
+/* */
+/* p1 */
+/* */
+/* Object Code Only (OCO) source materials */
+/* Licensed Internal Code Source Materials */
+/* IBM HostBoot Licensed Internal Code */
+/* */
+/* The source code for this program is not published or otherwise */
+/* divested of its trade secrets, irrespective of what has been */
+/* deposited with the U.S. Copyright Office. */
+/* */
+/* Origin: 30 */
+/* */
+/* IBM_PROLOG_END_TAG */
/**
@@ -895,13 +895,13 @@ int main( int argc, char *argv[] )
}
printf( "%-16s %8d\n",
FindComp(pPrivateHdr->sectionheader.compId),
- pPrivateHdr->plid );
+ pPrivateHdr->eid );
}
- else if(( fDetail ) && (( pPrivateHdr->plid == ulLogId ) || (fAll)))
+ else if(( fDetail ) && (( pPrivateHdr->eid == ulLogId ) || (fAll)))
{
// Write the native PEL to a temporary file
// for x86 errl tool to display.
- sprintf( szTmpFilename, "/tmp/pel%d.bin", pPrivateHdr->plid );
+ sprintf( szTmpFilename, "/tmp/pel%d.bin", pPrivateHdr->eid );
int fd = open( szTmpFilename, O_RDWR | O_CREAT , 0664 );
if( -1 == fd )
@@ -974,7 +974,7 @@ int main( int argc, char *argv[] )
if( fExtractPEL )
{
// Write the native PEL to a temporary file for debug later.
- sprintf( szTmpFilename, "%s/pel%d.bin", pszOutputDir, pPrivateHdr->plid );
+ sprintf( szTmpFilename, "%s/pel%d.bin", pszOutputDir, pPrivateHdr->eid );
int fd = open( szTmpFilename, O_RDWR | O_CREAT , 0664 );
if( -1 == fd )
OpenPOWER on IntegriCloud