r = acpi_get_boot_usec(&loader_start, &loader_exit);
if (r < 0) {
if (r != -ENOENT)
- log_error_errno(-r, "Failed to read ACPI FPDT: %m");
+ log_error_errno(r, "Failed to read ACPI FPDT: %m");
return r;
}
r = efi_loader_get_boot_usec(&loader_start, &loader_exit);
if (r < 0) {
if (r != -ENOENT)
- log_error_errno(-r, "Failed to read EFI loader data: %m");
+ log_error_errno(r, "Failed to read EFI loader data: %m");
return r;
}
r = boot_timestamps(NULL, &fw, &l);
if (r < 0) {
- log_error_errno(-r, "Failed to read variables: %m");
+ log_error_errno(r, "Failed to read variables: %m");
return 1;
}