diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2013-04-08 14:40:21 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-04-17 16:56:52 -0500 |
commit | 79f790c2b9d6a368f61a99af07d04ed9348ca504 (patch) | |
tree | ad13d684f026aed530be76a2266730f9a31552f4 /src/usr/errl/parser | |
parent | 24677286a33ea478fd5c2db959e894dd3a5f0e85 (diff) | |
download | talos-hostboot-79f790c2b9d6a368f61a99af07d04ed9348ca504.tar.gz talos-hostboot-79f790c2b9d6a368f61a99af07d04ed9348ca504.zip |
Fixes for GCC 4.7
Change-Id: Ief0b9202e13bd70cf0de84ca3cb20f5c6df4d3d8
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4035
Tested-by: Jenkins Server
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.C | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/usr/errl/parser/errlparser.C b/src/usr/errl/parser/errlparser.C index 71d71aab5..ba6d2defa 100644 --- a/src/usr/errl/parser/errlparser.C +++ b/src/usr/errl/parser/errlparser.C @@ -25,21 +25,21 @@ /** * @file errlparser.C * - * @brief This program spawns the FipS x86 errl tool to display - * a Hostboot error log in full detail. This program can also show a - * brief list of error logs without the detail. When the user + * @brief This program spawns the FipS x86 errl tool to display + * a Hostboot error log in full detail. This program can also show a + * brief list of error logs without the detail. When the user * wants the full detail, this program extracts the error log from * the Hostboot image (or dump) and puts it into a temporary file. When * saved to file, then this program execs "errl -d..." to display - * the error log PEL data. - * + * the error log PEL data. + * * There are other options, such as "-p" which writes all the PEL files - * and does not exec errl. This is useful for debugging. - * + * and does not exec errl. This is useful for debugging. + * * Enter errlparser ? (or -? or -h or --help) to print help. * This program can be run standalone using a Simics * L3 memory image and the HB syms file, however it is more likely - * spawned via "simics> hb-errl" + * spawned via "simics> hb-errl" */ @@ -47,6 +47,7 @@ #include <stdlib.h> #include <netinet/in.h> #include <fcntl.h> +#include <sys/stat.h> #include <unistd.h> #include <string.h> #include <errno.h> |