[systemd-commits] src/shared
Lennart Poettering
lennart at kemper.freedesktop.org
Tue Feb 11 09:35:16 PST 2014
src/shared/boot-timestamps.c | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 70d9b9fc0a4fa1698ff00e364c61bb875244efa1
Author: Cristian RodrÃguez <crrodriguez at opensuse.org>
Date: Tue Feb 11 09:54:49 2014 -0300
efi: fix Undefined reference efi_loader_get_boot_usec when EFI support is disabled
diff --git a/src/shared/boot-timestamps.c b/src/shared/boot-timestamps.c
index 9449965..d656685 100644
--- a/src/shared/boot-timestamps.c
+++ b/src/shared/boot-timestamps.c
@@ -40,8 +40,10 @@ int boot_timestamps(const dual_timestamp *n, dual_timestamp *firmware, dual_time
r = acpi_get_boot_usec(&x, &y);
if (r < 0) {
+#ifdef ENABLE_EFI
r = efi_loader_get_boot_usec(&x, &y);
if (r < 0)
+#endif
return r;
}
More information about the systemd-commits
mailing list