summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_aio.c
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2002-08-22 21:24:01 +0000
committerarchie <archie@FreeBSD.org>2002-08-22 21:24:01 +0000
commit7a233d4c9f8562bf331fa9b7d4d1f649521fb602 (patch)
tree2fc5ad56a57cb03d56c0aa0af0f4c9ba2c7bb631 /sys/kern/vfs_aio.c
parent7995682a2f9ee27c40a0794821e01853508b55c3 (diff)
downloadFreeBSD-src-7a233d4c9f8562bf331fa9b7d4d1f649521fb602.zip
FreeBSD-src-7a233d4c9f8562bf331fa9b7d4d1f649521fb602.tar.gz
Replace (ab)uses of "NULL" where "0" is really meant.
Diffstat (limited to 'sys/kern/vfs_aio.c')
-rw-r--r--sys/kern/vfs_aio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c
index 39ec50e..b3a2670 100644
--- a/sys/kern/vfs_aio.c
+++ b/sys/kern/vfs_aio.c
@@ -1979,7 +1979,7 @@ lio_listio(struct thread *td, struct lio_listio_args *uap)
cbptr = uap->acb_list;
for (i = 0; i < uap->nent; i++) {
iocb = (struct aiocb *)(intptr_t)fuword(&cbptr[i]);
- if (((intptr_t)iocb != -1) && ((intptr_t)iocb != NULL)) {
+ if (((intptr_t)iocb != -1) && ((intptr_t)iocb != 0)) {
error = _aio_aqueue(td, iocb, lj, 0);
if (error == 0)
nentqueued++;
OpenPOWER on IntegriCloud