shithub: choc

Download patch

ref: de66c6b9672e4a97af96938517a1d954f32966ec
parent: 43f160000c540b129733cbea11a492d2598758e6
author: Simon Howard <[email protected]>
date: Sat Sep 26 20:40:55 EDT 2009

Set privilege level to 3, not 1.

Subversion-branch: /branches/opl-branch
Subversion-revision: 1694

--- a/opl/opl_obsd.c
+++ b/opl/opl_obsd.c
@@ -46,7 +46,7 @@
 {
     // 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");