From: kettenis Date: Sun, 23 Jun 2024 13:11:51 +0000 (+0000) Subject: Fix previous commit; add missing label X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=3b1a37cb83ce5be75c96a136324d97cfeb2a0888;p=openbsd Fix previous commit; add missing label --- diff --git a/sys/arch/riscv64/stand/efiboot/efiboot.c b/sys/arch/riscv64/stand/efiboot/efiboot.c index c00dd44350f..1f01cd2559a 100644 --- a/sys/arch/riscv64/stand/efiboot/efiboot.c +++ b/sys/arch/riscv64/stand/efiboot/efiboot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: efiboot.c,v 1.10 2024/06/20 22:03:02 kettenis Exp $ */ +/* $OpenBSD: efiboot.c,v 1.11 2024/06/23 13:11:51 kettenis Exp $ */ /* * Copyright (c) 2015 YASUOKA Masahiko @@ -1011,6 +1011,7 @@ fdt_load_override(char *file) return 0; } dt_size = sb.st_size; +retry: if (efi_memprobe_find(EFI_SIZE_TO_PAGES(dt_size), PAGE_SIZE, &addr) != EFI_SUCCESS) { printf("cannot allocate memory for %s\n", path);