diff options
Diffstat (limited to 'src/backlight')
-rw-r--r-- | src/backlight/backlight.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backlight/backlight.c b/src/backlight/backlight.c index 682c719f61..9ee2c23683 100644 --- a/src/backlight/backlight.c +++ b/src/backlight/backlight.c @@ -79,7 +79,7 @@ static int find_pci_or_platform_parent(sd_device *device, sd_device **ret) { } else if (streq(subsystem, "pci") && sd_device_get_sysattr_value(parent, "class", &value) >= 0) { - unsigned long class = 0; + unsigned long class; r = safe_atolu(value, &class); if (r < 0) |