aboutsummaryrefslogtreecommitdiff
path: root/stand/efi
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2024-02-21 15:50:31 +0000
committerWarner Losh <imp@FreeBSD.org>2024-02-21 15:51:34 +0000
commitb2822c40f61d351bf8a4cac87e12521db06ff962 (patch)
tree0023c20bd63f90087373605e6a09341b7f8a994e /stand/efi
parent32568e5f2435a2539b0c4177a6fefe7a9e0a0c89 (diff)
downloadsrc-b2822c40f61d351bf8a4cac87e12521db06ff962.tar.gz
src-b2822c40f61d351bf8a4cac87e12521db06ff962.zip
Diffstat (limited to 'stand/efi')
-rw-r--r--stand/efi/loader/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/stand/efi/loader/main.c b/stand/efi/loader/main.c
index d7cffe5f6df9..5944c383574e 100644
--- a/stand/efi/loader/main.c
+++ b/stand/efi/loader/main.c
@@ -278,10 +278,11 @@ probe_zfs_currdev(uint64_t guid)
#endif
#ifdef MD_IMAGE_SIZE
+extern struct devsw md_dev;
+
static bool
probe_md_currdev(void)
{
- extern struct devsw md_dev;
bool rv;
set_currdev_devsw(&md_dev, 0);