pcrlock: do not pass wrong error to log message
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user