]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
backlight: fix typo
authorjouyouyun <yanbowen@uniontech.com>
Mon, 3 Nov 2025 08:04:33 +0000 (16:04 +0800)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 3 Nov 2025 11:07:46 +0000 (11:07 +0000)
src/backlight/backlight.c

index 910e5b49f15ebc83480d9ed9a6544890fe4d94ce..ee0ae82a50abec700647f04eea37b56535053b1a 100644 (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. */