chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
load-fragment: remove wrong ifdef guard
[elogind.git]
/
src
/
test
/
test-boot-timestamps.c
diff --git
a/src/test/test-boot-timestamps.c
b/src/test/test-boot-timestamps.c
index 354307cba11463a76a30ad9a4d61f89d40e11c32..06d93af5332a8d17f7c0b0a11f4fa167d2b75677 100644
(file)
--- a/
src/test/test-boot-timestamps.c
+++ b/
src/test/test-boot-timestamps.c
@@
-37,7
+37,7
@@
static int test_acpi_fpdt(void) {
r = acpi_get_boot_usec(&loader_start, &loader_exit);
if (r < 0) {
if (r != -ENOENT)
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;
}
return r;
}
@@
-60,7
+60,7
@@
static int test_efi_loader(void) {
r = efi_loader_get_boot_usec(&loader_start, &loader_exit);
if (r < 0) {
if (r != -ENOENT)
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;
}
return r;
}
@@
-84,7
+84,7
@@
int main(int argc, char* argv[]) {
r = boot_timestamps(NULL, &fw, &l);
if (r < 0) {
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;
}
return 1;
}