mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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
2 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue