summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-01-24 09:59:01 +0100
committerKay Sievers <kay@vrfy.org>2013-01-24 09:59:01 +0100
commit4a7a5cee9f736f513b53bd30b876888f6303247c (patch)
tree64274729887ceb4380cf3ea564ea7445be6aa2f7
parent9112053856541c2537a207bf10799cdb2f741d50 (diff)
use "USec" instead of "Usec"
-rw-r--r--gummiboot.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gummiboot.c b/gummiboot.c
index 7c0261f..33f22fb 100644
--- a/gummiboot.c
+++ b/gummiboot.c
@@ -1705,7 +1705,7 @@ static EFI_STATUS image_start(EFI_HANDLE parent_image, const Config *config, con
loaded_image->LoadOptionsSize = (StrLen(loaded_image->LoadOptions)+1) * sizeof(CHAR16);
}
- efivar_set_time_usec(L"LoaderTimeExecUsec", 0);
+ efivar_set_time_usec(L"LoaderTimeExecUSec", 0);
err = uefi_call_wrapper(BS->StartImage, 3, image, NULL, NULL);
out_unload:
uefi_call_wrapper(BS->UnloadImage, 1, image);
@@ -1738,7 +1738,7 @@ EFI_STATUS EFIAPI efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *sys_table) {
InitializeLib(image, sys_table);
init_usec = time_usec();
efivar_set(L"LoaderVersion", L"gummiboot " stringify(VERSION), FALSE);
- efivar_set_time_usec(L"LoaderTimeInitUsec", init_usec);
+ efivar_set_time_usec(L"LoaderTimeInitUSec", init_usec);
err = uefi_call_wrapper(BS->OpenProtocol, 6, image, &LoadedImageProtocol, &loaded_image,
image, NULL, EFI_OPEN_PROTOCOL_GET_PROTOCOL);
if (EFI_ERROR(err)) {
@@ -1826,7 +1826,7 @@ EFI_STATUS EFIAPI efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *sys_table) {
entry = config.entries[config.idx_default];
if (menu) {
- efivar_set_time_usec(L"LoaderTimeMenuUsec", 0);
+ efivar_set_time_usec(L"LoaderTimeMenuUSec", 0);
if (!menu_run(&config, &entry, loaded_image_path))
break;
}