summaryrefslogtreecommitdiffstats
path: root/libsensors/LightSensor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libsensors/LightSensor.cpp')
-rw-r--r--libsensors/LightSensor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsensors/LightSensor.cpp b/libsensors/LightSensor.cpp
index 5d9eb07..fd1587f 100644
--- a/libsensors/LightSensor.cpp
+++ b/libsensors/LightSensor.cpp
@@ -72,7 +72,7 @@ int LightSensor::setDelay(int32_t handle, int64_t ns)
{
int fd;
- strcpy(&input_sysfs_path[input_sysfs_path_len], "light_poll_delay");
+ strcpy(&input_sysfs_path[input_sysfs_path_len], "poll_delay");
fd = open(input_sysfs_path, O_RDWR);
if (fd >= 0) {
char buf[80];