diff options
-rw-r--r-- | src/i830_lvds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_lvds.c b/src/i830_lvds.c index 694414a3..0942d1cb 100644 --- a/src/i830_lvds.c +++ b/src/i830_lvds.c @@ -293,7 +293,7 @@ i830_lvds_get_backlight_kernel(xf86OutputPtr output) char path[BACKLIGHT_PATH_LEN], val[BACKLIGHT_VALUE_LEN]; int fd; - sprintf(path, "%s/%s/brightness", BACKLIGHT_CLASS, + sprintf(path, "%s/%s/actual_brightness", BACKLIGHT_CLASS, backlight_interfaces[backlight_index]); fd = open(path, O_RDWR); if (fd == -1) { |