summaryrefslogtreecommitdiffstats
path: root/hwaccess.c
diff options
context:
space:
mode:
authorSean Nelson <audiohacked@gmail.com>2010-05-07 20:09:04 +0000
committerSean Nelson <audiohacked@gmail.com>2010-05-07 20:09:04 +0000
commit316a29f33f7b4f549097c102cf2e56a30d7e3cac (patch)
tree544d1dea8706b7b9e3591f81eba8be45fc054ab8 /hwaccess.c
parent270237687a7f550e86c01548550f25b1d0a31d65 (diff)
downloadast2050-flashrom-316a29f33f7b4f549097c102cf2e56a30d7e3cac.zip
ast2050-flashrom-316a29f33f7b4f549097c102cf2e56a30d7e3cac.tar.gz
Convert various prints to use msg_p* and msg_g* respectively
Convert programmer print messages to msg_p* convert general print messages to msg_g* a few fixes as suggested by Carl-Daniel. Corresponding to flashrom svn r997. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
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);
}
OpenPOWER on IntegriCloud