pcrlock: don't override conf_root parameter for boot_entry_token_ensure()

if we pass NULL boot_entry_token_ensure() will use its own default,
which is the same as what we passed so far explicitly, hence let's make
use of that.
This commit is contained in:
Lennart Poettering 2024-06-10 14:57:18 +02:00 committed by Luca Boccassi
parent dc163cd40b
commit e2f451d876

View file

@ -4329,7 +4329,7 @@ static int determine_boot_policy_file(char **ret) {
r = boot_entry_token_ensure(
/* root= */ NULL,
"/etc/kernel",
/* conf_root= */ NULL,
machine_id,
/* machine_id_is_random = */ false,
&arg_entry_token_type,