From 5f09fc992af19fc208315217eb46635a762f1e55 Mon Sep 17 00:00:00 2001 From: sandman Date: Sun, 27 Oct 2002 15:56:07 +0000 Subject: fixed a typo in the light sensor code --- (limited to 'libopie/odevice.cpp') diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp index 44fe35f..6ea4d45 100644 --- a/libopie/odevice.cpp +++ b/libopie/odevice.cpp @@ -688,7 +688,7 @@ int iPAQ::readLightSensor ( ) int fd; int val = -1; - if (( fd = ::open ( "/proc/hal/lightsensor", O_RDONLY )) >= 0 ) { + if (( fd = ::open ( "/proc/hal/light_sensor", O_RDONLY )) >= 0 ) { char buffer [5]; if ( ::read ( fd, buffer, 4 ) == 4 ) { -- cgit v0.9.0.2