aboutsummaryrefslogtreecommitdiff
path: root/stand/efi/loader/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'stand/efi/loader/main.c')
-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);