summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfs_nfsiod.c
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>2002-07-11 17:54:58 +0000
committerdillon <dillon@FreeBSD.org>2002-07-11 17:54:58 +0000
commit0b74a2da00ab0a50d30ae736a1eb9cb5c5c5eb11 (patch)
tree29f0ae4a3379cc4eeac2dc5eafc5eafbb5188b48 /sys/nfsclient/nfs_nfsiod.c
parent9180aabc4ca6e999cde1883d5f2fa501c953cd36 (diff)
downloadFreeBSD-src-0b74a2da00ab0a50d30ae736a1eb9cb5c5c5eb11.zip
FreeBSD-src-0b74a2da00ab0a50d30ae736a1eb9cb5c5c5eb11.tar.gz
Convert old style (type foo *)0 casts to NULLs
PR: kern/40360 Requested by: Hiten PAndya via direct email
Diffstat (limited to 'sys/nfsclient/nfs_nfsiod.c')
-rw-r--r--sys/nfsclient/nfs_nfsiod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfsclient/nfs_nfsiod.c b/sys/nfsclient/nfs_nfsiod.c
index a27548a..4a3d0f7 100644
--- a/sys/nfsclient/nfs_nfsiod.c
+++ b/sys/nfsclient/nfs_nfsiod.c
@@ -258,9 +258,9 @@ nfssvc_iod(void *instance)
wakeup(&nmp->nm_bufq);
}
if (bp->b_iocmd == BIO_READ)
- (void) nfs_doio(bp, bp->b_rcred, (struct thread *)0);
+ (void) nfs_doio(bp, bp->b_rcred, NULL);
else
- (void) nfs_doio(bp, bp->b_wcred, (struct thread *)0);
+ (void) nfs_doio(bp, bp->b_wcred, NULL);
/*
* If there are more than one iod on this mount, then defect
* so that the iods can be shared out fairly between the mounts
OpenPOWER on IntegriCloud