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
This commit is contained in:
parent
1024bb2633
commit
2ae0861242
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user