From a9424d597de410b07e34c47d7c0613f0595d5d9a Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 27 Jun 2008 16:28:34 +0000 Subject: Multiple unrelated changes * ICH7 SPI support * fix some variable names in ichspi.c (Offset -> offset) * Dump ICH7 SPI bar with -V * Improve error message in case IOPL goes wrong. (It might not even be an IOPL) Corresponding to flashrom svn r278 and coreboot v2 svn r3393. Signed-off-by: Stefan Reinauer Acked-by: Peter Stuge --- flashrom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'flashrom.c') diff --git a/flashrom.c b/flashrom.c index 2dc2de8..39ed19b 100644 --- a/flashrom.c +++ b/flashrom.c @@ -378,7 +378,7 @@ int main(int argc, char *argv[]) #else if (iopl(3) != 0) { #endif - fprintf(stderr, "ERROR: iopl failed: \"%s\"\n", + fprintf(stderr, "ERROR: Could not get IO privileges (%s).\nYou need to be root.\n", strerror(errno)); exit(1); } -- cgit v1.1