git: 50526f522bc4 - main - bhyve: fix spelling mistake in passthru emulation

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Wed, 27 Jul 2022 16:21:28 UTC
The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=50526f522bc4e26e7bd610e376d85bb897c2686c

commit 50526f522bc4e26e7bd610e376d85bb897c2686c
Author:     Corvin Köhne <CorvinK@beckhoff.com>
AuthorDate: 2022-07-27 14:43:01 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-07-27 16:20:47 +0000

    bhyve: fix spelling mistake in passthru emulation
    
    Reviewed by:    jhb
    Differential Revision:  https://reviews.freebsd.org/D35707
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
---
 usr.sbin/bhyve/pci_passthru.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.sbin/bhyve/pci_passthru.c b/usr.sbin/bhyve/pci_passthru.c
index 153554f97e43..f4b532ed101e 100644
--- a/usr.sbin/bhyve/pci_passthru.c
+++ b/usr.sbin/bhyve/pci_passthru.c
@@ -1094,7 +1094,7 @@ passthru_addr_rom(struct pci_devinst *const pi, const int idx,
 	} else {
 		if (vm_mmap_memseg(pi->pi_vmctx, addr, VM_PCIROM,
 			pi->pi_romoffset, size, PROT_READ | PROT_EXEC) != 0) {
-			errx(4, "%s: mnmap_memseg @ [%016lx - %016lx]  failed",
+			errx(4, "%s: mmap_memseg @ [%016lx - %016lx]  failed",
 			    __func__, addr, addr + size);
 		}
 	}