summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--opl/opl_obsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opl/opl_obsd.c b/opl/opl_obsd.c
index 82d9186d..05574333 100644
--- a/opl/opl_obsd.c
+++ b/opl/opl_obsd.c
@@ -46,7 +46,7 @@ static int OPL_OpenBSD_Init(unsigned int port_base)
{
// Try to get permissions:
- if (i386_iopl(1) < 0)
+ if (i386_iopl(3) < 0)
{
fprintf(stderr, "Failed to get raise I/O privilege level: "
"check that you are running as root.\n");