Use an explicit comparison with VM_GUEST_NO.
Reported by: jhb MFC with: r345359 Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
64087fd7f3
commit
a4b59d3db6
@ -319,7 +319,7 @@ dtrace_gethrtime_init(void *arg)
|
||||
int i;
|
||||
#endif
|
||||
|
||||
if (vm_guest)
|
||||
if (vm_guest != VM_GUEST_NO)
|
||||
return;
|
||||
|
||||
/* The current CPU is the reference one. */
|
||||
|
@ -321,7 +321,7 @@ dtrace_gethrtime_init(void *arg)
|
||||
int i;
|
||||
#endif
|
||||
|
||||
if (vm_guest)
|
||||
if (vm_guest != VM_GUEST_NO)
|
||||
return;
|
||||
|
||||
/* The current CPU is the reference one. */
|
||||
|
Loading…
Reference in New Issue
Block a user