backlight: fix typo

This commit is contained in:
jouyouyun
2025-11-03 11:07:46 +00:00
committed by Luca Boccassi
parent 49ca2d8778
commit 10cdb58690
+1 -1
View File
@@ -203,7 +203,7 @@ static int validate_device(sd_device *device) {
r = device_in_subsystem(device, "leds");
if (r < 0)
return log_device_debug_errno(device, r, "Failed to check if device is in backlight subsystem: %m");
return log_device_debug_errno(device, r, "Failed to check if device is in leds subsystem: %m");
if (r > 0)
return true; /* We assume LED device is always valid. */