summaryrefslogtreecommitdiffstats
path: root/common/efi/efi.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/efi/efi.c')
-rw-r--r--common/efi/efi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/efi/efi.c b/common/efi/efi.c
index 6f55e3970e..01003dc00f 100644
--- a/common/efi/efi.c
+++ b/common/efi/efi.c
@@ -292,7 +292,7 @@ static void __noreturn efi_poweroff_system(struct poweroff_handler *handler)
static int restart_register_feature(void)
{
- restart_handler_register_fn(efi_restart_system);
+ restart_handler_register_fn("efi", efi_restart_system);
poweroff_handler_register_fn(efi_poweroff_system);
return 0;