[coreboot] [flashrom] r465 - trunk
svn at coreboot.org
svn at coreboot.org
Wed May 6 15:38:56 CEST 2009
Author: stuge
Date: 2009-05-06 15:38:55 +0200 (Wed, 06 May 2009)
New Revision: 465
Modified:
trunk/chipset_enable.c
Log:
Touch up some error messages in enable_flash_cs5536().
Signed-off-by: Peter Stuge <peter at stuge.se>
Acked-by: Peter Stuge <peter at stuge.se>
Modified: trunk/chipset_enable.c
===================================================================
--- trunk/chipset_enable.c 2009-05-06 00:35:31 UTC (rev 464)
+++ trunk/chipset_enable.c 2009-05-06 13:38:55 UTC (rev 465)
@@ -512,13 +512,13 @@
fd_msr = open("/dev/cpu/0/msr", O_RDWR);
if (fd_msr == -1) {
- perror("open msr");
+ perror("open(/dev/cpu/0/msr)");
+ printf("Cannot operate on MSR. Did you run 'modprobe msr'?\n");
return -1;
}
if (lseek64(fd_msr, (off64_t) MSR_RCONF_DEFAULT, SEEK_SET) == -1) {
perror("lseek64");
- printf("Cannot operate on MSR. Did you run 'modprobe msr'?\n");
close(fd_msr);
return -1;
}
More information about the coreboot
mailing list