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
commitb623caf592935cd44a3277336f3893cd36a10acb (patch)
tree544d1dea8706b7b9e3591f81eba8be45fc054ab8 /hwaccess.c
parent941b865510329a796393275f040ed18d188dc143 (diff)
downloadflashrom-b623caf592935cd44a3277336f3893cd36a10acb.zip
flashrom-b623caf592935cd44a3277336f3893cd36a10acb.tar.gz
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