From 50526f522bc4e26e7bd610e376d85bb897c2686c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corvin=20K=C3=B6hne?= Date: Wed, 27 Jul 2022 16:43:01 +0200 Subject: [PATCH] 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); } }