diff options
author | Simon Howard | 2009-09-27 00:40:55 +0000 |
---|---|---|
committer | Simon Howard | 2009-09-27 00:40:55 +0000 |
commit | de66c6b9672e4a97af96938517a1d954f32966ec (patch) | |
tree | cac7cfe6faa9aaa3849a2ee8823e7f164ca3e425 | |
parent | 43f160000c540b129733cbea11a492d2598758e6 (diff) | |
download | chocolate-doom-de66c6b9672e4a97af96938517a1d954f32966ec.tar.gz chocolate-doom-de66c6b9672e4a97af96938517a1d954f32966ec.tar.bz2 chocolate-doom-de66c6b9672e4a97af96938517a1d954f32966ec.zip |
Set privilege level to 3, not 1.
Subversion-branch: /branches/opl-branch
Subversion-revision: 1694
-rw-r--r-- | opl/opl_obsd.c | 2 |
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"); |