Skip to content

Commit

Permalink
cuse(3): Cosmetic change about testing boolean values.
Browse files Browse the repository at this point in the history
No functional change intended.

Differential Revision:	https://reviews.freebsd.org/D36633
Suggested by:	jrtc27@ and avg@
MFC after:	1 week
Sponsored by:	NVIDIA Networking
  • Loading branch information
hselasky committed Oct 4, 2022
1 parent 1024bb2 commit 2ae0861
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sys/fs/cuse/cuse.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 2ae0861

Please sign in to comment.