Commit 6fafe3b0 authored by Keith Packard's avatar Keith Packard
Browse files

kdrive: Open APM device r/w for kernel 2.4.14

parent 2f2e256d
/*
* $XFree86: xc/programs/Xserver/hw/kdrive/linux/linux.c,v 1.5 2001/03/30 02:15:20 keithp Exp $
* $XFree86: xc/programs/Xserver/hw/kdrive/linux/linux.c,v 1.6 2001/07/24 21:26:17 keithp Exp $
*
* Copyright 1999 Keith Packard
*
......@@ -329,7 +329,7 @@ LinuxEnable (void)
/*
* Open the APM driver
*/
LinuxApmFd = open ("/dev/apm_bios", 0);
LinuxApmFd = open ("/dev/apm_bios", 2);
if (LinuxApmFd >= 0)
{
LinuxApmRunning = TRUE;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment