pcrlock: do not pass wrong error to log message

This commit is contained in:
Lennart Poettering
2026-03-10 12:03:17 +01:00
parent 809cb1b4d8
commit 2fb2428296
+1 -1
View File
@@ -1713,7 +1713,7 @@ static int event_log_add_component_file(EventLog *el, EventLogComponent *compone
}
if (!sd_json_variant_is_object(j)) {
log_warning_errno(r, "Component file %s does not contain JSON object, ignoring.", path);
log_warning("Component file %s does not contain JSON object, ignoring.", path);
return 0;
}