From 3b1a37cb83ce5be75c96a136324d97cfeb2a0888 Mon Sep 17 00:00:00 2001 From: kettenis Date: Sun, 23 Jun 2024 13:11:51 +0000 Subject: [PATCH] Fix previous commit; add missing label --- sys/arch/riscv64/stand/efiboot/efiboot.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.20.1