summaryrefslogtreecommitdiff
path: root/src/efi-boot-generator
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-09-23 17:23:35 -0500
committerKay Sievers <kay@vrfy.org>2013-09-24 15:43:41 +0200
commitc51d84dc09476d9c06b8aac726220bf3c7d62e8d (patch)
tree3440df30c67dc883a896c88b653804240f5bf783 /src/efi-boot-generator
parent036ae95ac4a425475b58e1a8e53d5c52b2c8a218 (diff)
support acpi firmware performance data (FPDT)
Prefer firmware-provided performance data over loader-exported ones; if ACPI data is available, always use it, otherwise try to read the loader data. The firmware-provided variables start at the time the first EFI image is executed and end when the operating system exits the boot services; the (loader) time calculated in systemd-analyze increases.
Diffstat (limited to 'src/efi-boot-generator')
-rw-r--r--src/efi-boot-generator/efi-boot-generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/efi-boot-generator/efi-boot-generator.c b/src/efi-boot-generator/efi-boot-generator.c
index 4367c536b0..05b95ed455 100644
--- a/src/efi-boot-generator/efi-boot-generator.c
+++ b/src/efi-boot-generator/efi-boot-generator.c
@@ -55,7 +55,7 @@ int main(int argc, char *argv[]) {
if (dir_is_empty("/boot") <= 0)
return EXIT_SUCCESS;
- r = efi_get_loader_device_part_uuid(&id);
+ r = efi_loader_get_device_part_uuid(&id);
if (r == -ENOENT)
return EXIT_SUCCESS;
if (r < 0) {