aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2022-10-04 10:31:51 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2022-10-04 11:51:06 +0000
commit2ae08612424eda47e099096f1f5719891c6d4711 (patch)
treeecdd86fd8fdb56b5578f2b51b02f35ef3efa3dcd
parent1024bb26337bdc6679af477977247e9155d502bc (diff)
downloadsrc-2ae08612424eda47e099096f1f5719891c6d4711.tar.gz
src-2ae08612424eda47e099096f1f5719891c6d4711.zip
cuse(3): Cosmetic change about testing boolean values.
No functional change intended. Differential Revision: https://reviews.freebsd.org/D36633 Suggested by: jrtc27@ and avg@ MFC after: 1 week Sponsored by: NVIDIA Networking
-rw-r--r--sys/fs/cuse/cuse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/cuse/cuse.c b/sys/fs/cuse/cuse.c
index 41f8bdbe2bfe..566f463da22a 100644
--- a/sys/fs/cuse/cuse.c
+++ b/sys/fs/cuse/cuse.c
@@ -866,7 +866,7 @@ cuse_server_ioctl_copy_locked(struct cuse_server *pcs,
cuse_server_unlock(pcs);
- if (isread == false) {
+ if (!isread) {
error = copyin(
(void *)pchk->local_ptr,
pccmd->client->ioctl_buffer + offset,
@@ -961,7 +961,7 @@ cuse_server_data_copy_locked(struct cuse_server *pcs,
cuse_server_unlock(pcs);
- if (isread == false) {
+ if (!isread) {
error = cuse_proc2proc_copy(
curthread->td_proc, pchk->local_ptr,
p_proc, pchk->peer_ptr,