From a5079b9255ca2bfbb39df8bf22cd85d22caee342 Mon Sep 17 00:00:00 2001 From: sandman Date: Mon, 28 Oct 2002 18:32:11 +0000 Subject: Fixed a typo -- just wondering why I commited this --- (limited to 'libopie') diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp index 2b7e927..9f64fc0 100644 --- a/libopie/odevice.cpp +++ b/libopie/odevice.cpp @@ -692,7 +692,7 @@ int iPAQ::readLightSensor ( ) if (( fd = ::open ( "/proc/hal/light_sensor", O_RDONLY )) >= 0 ) { char buffer [8]; - if ( ::read ( fd, buffer, 5 ) == 5 ) + if ( ::read ( fd, buffer, 5 ) == 5 ) { char *endptr; buffer [4] = 0; -- cgit v0.9.0.2