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 6c00b00d82..9ec29f79a4 100644 --- a/src/backlight/backlight.c +++ b/src/backlight/backlight.c @@ -291,7 +291,7 @@ int main(int argc, char *argv[]) { * device probing should be complete), so that the validity * check at boot time doesn't have to be reliable. */ - if (streq(argv[1], "load") && restore_state()) { + if (streq(argv[1], "load") && shall_restore_state()) { _cleanup_free_ char *value = NULL; if (!validate_device(udev, device)) |