mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-28 08:02:54 +00:00
vmm: Fix non-INVARIANTS build
Reported by: O. Hartmann <freebsd@walstatt-de.de>
Reviewed by: jhb
Fixes: 58eefc67a1
Differential Revision: https://reviews.freebsd.org/D37444
This commit is contained in:
parent
74ad8d607d
commit
d487cba33d
@ -1020,7 +1020,7 @@ vmx_setup_cr_shadow(int which, struct vmcs *vmcs, uint32_t initial)
|
||||
static void *
|
||||
vmx_init(struct vm *vm, pmap_t pmap)
|
||||
{
|
||||
int error;
|
||||
int error __diagused;
|
||||
struct vmx *vmx;
|
||||
|
||||
vmx = malloc(sizeof(struct vmx), M_VMX, M_WAITOK | M_ZERO);
|
||||
|
Loading…
Reference in New Issue
Block a user