[coreboot] r3908 - trunk/util/flashrom
svn at coreboot.org
svn at coreboot.org
Mon Jan 26 03:20:57 CET 2009
Author: stuge
Date: 2009-01-26 03:20:56 +0100 (Mon, 26 Jan 2009)
New Revision: 3908
Modified:
trunk/util/flashrom/README
trunk/util/flashrom/flashrom.8
Log:
flashrom: Document exit() codes introduced in r3907.
Signed-off-by: Peter Stuge <peter at stuge.se>
Acked-by: Ward Vandewege <ward at gnu.org>
Modified: trunk/util/flashrom/README
===================================================================
--- trunk/util/flashrom/README 2009-01-26 02:04:19 UTC (rev 3907)
+++ trunk/util/flashrom/README 2009-01-26 02:20:56 UTC (rev 3908)
@@ -44,6 +44,12 @@
is that flash info is dumped and the flash chip is set to writable.
+Exit status
+-----------
+flashrom exits with 0 on success, 1 on most failures but with 2 if /dev/mem
+(/dev/xsvc on Solaris) can not be opened and with 3 if a call to mmap() fails.
+
+
coreboot Table and Mainboard Identification
--------------------------------------------
Modified: trunk/util/flashrom/flashrom.8
===================================================================
--- trunk/util/flashrom/flashrom.8 2009-01-26 02:04:19 UTC (rev 3907)
+++ trunk/util/flashrom/flashrom.8 2009-01-26 02:20:56 UTC (rev 3908)
@@ -77,6 +77,9 @@
.TP
.B "\-R, \-\-version"
Show version information and exit.
+.SH EXIT STATUS
+flashrom exits with 0 on success, 1 on most failures but with 2 if /dev/mem
+(/dev/xsvc on Solaris) can not be opened and with 3 if a call to mmap() fails.
.SH BUGS
Please report any bugs at
.BR http://tracker.coreboot.org/trac/coreboot/newticket ","
More information about the coreboot
mailing list