summaryrefslogtreecommitdiff
path: root/hwaccess.c
diff options
context:
space:
mode:
authorsnelson <snelson@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2010-05-07 20:09:04 +0000
committersnelson <snelson@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2010-05-07 20:09:04 +0000
commit234e9526ab20c1acc7b50263df061cd8f4e510a1 (patch)
tree544d1dea8706b7b9e3591f81eba8be45fc054ab8 /hwaccess.c
parentc0a76f5940ce3d802cc3ecaa2d7c16c5c34cb0d0 (diff)
downloadflashrom-234e9526ab20c1acc7b50263df061cd8f4e510a1.tar.gz
convert programmer print messages to msg_p*
convert general print messages to msg_g* a few fixes as suggested by Carl-Daniel Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@997 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'hwaccess.c')
-rw-r--r--hwaccess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwaccess.c b/hwaccess.c
index 36ea6f4..830013e 100644
--- a/hwaccess.c
+++ b/hwaccess.c
@@ -41,7 +41,7 @@ void get_io_perms(void)
#else
if (iopl(3) != 0) {
#endif
- fprintf(stderr, "ERROR: Could not get I/O privileges (%s).\n"
+ msg_perr("ERROR: Could not get I/O privileges (%s).\n"
"You need to be root.\n", strerror(errno));
exit(1);
}