summaryrefslogtreecommitdiffstats
path: root/hwaccess.c
diff options
context:
space:
mode:
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