diff options
author | Mark Johnston <markj@FreeBSD.org> | 2021-11-03 15:19:53 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2021-11-07 19:39:38 +0000 |
commit | 5df48c0fa5cd005853afa7017c12a7d3f32c16e5 (patch) | |
tree | a228ac63829225eeed8dfbe9d7598b0240cfced1 | |
parent | 014ae00ef6edca2687d618e0bda138086a1e1230 (diff) | |
download | src-5df48c0fa5cd005853afa7017c12a7d3f32c16e5.tar.gz src-5df48c0fa5cd005853afa7017c12a7d3f32c16e5.zip |
vmci: Avoid relying on macro expansion to provide correct syntax
No functional change intended.
Sponsored by: The FreeBSD Foundation
(cherry picked from commit c75c1d2df9b3839319f6b5e2fad0b757eebd9c55)
-rw-r--r-- | sys/dev/vmware/vmci/vmci_kernel_if.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/vmware/vmci/vmci_kernel_if.c b/sys/dev/vmware/vmci/vmci_kernel_if.c index de54a8d1ca4f..f66e63f56fc7 100644 --- a/sys/dev/vmware/vmci/vmci_kernel_if.c +++ b/sys/dev/vmware/vmci/vmci_kernel_if.c @@ -70,7 +70,7 @@ void vmci_cleanup_lock(vmci_lock *lock) { - if mtx_initialized(lock) + if (mtx_initialized(lock)) mtx_destroy(lock); } |