summaryrefslogtreecommitdiff
path: root/sys/nfsclient/nfs_nfsiod.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2003-03-02 16:54:40 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2003-03-02 16:54:40 +0000
commit521f364b804158f257fdd8ad7cbf368a0efe5a44 (patch)
tree351747321ab136aa733f670c4c2c235b3639bc1e /sys/nfsclient/nfs_nfsiod.c
parent715b1e0ab00116f80903f29c1c794097b1dd7374 (diff)
Notes
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 8762b16f1074..c244972b7b1e 100644
--- a/sys/nfsclient/nfs_nfsiod.c
+++ b/sys/nfsclient/nfs_nfsiod.c
@@ -144,7 +144,7 @@ sysctl_iodmax(SYSCTL_HANDLER_ARGS)
iod = nfs_numasync - 1;
for (i = 0; i < nfs_numasync - nfs_iodmax; i++) {
if (nfs_iodwant[iod])
- wakeup((caddr_t)&nfs_iodwant[iod]);
+ wakeup(&nfs_iodwant[iod]);
iod--;
}
return (0);
@@ -244,7 +244,7 @@ nfssvc_iod(void *instance)
* Always keep at least nfs_iodmin kthreads.
*/
timo = (myiod < nfs_iodmin) ? 0 : nfs_iodmaxidle * hz;
- error = tsleep((caddr_t)&nfs_iodwant[myiod], PWAIT | PCATCH,
+ error = tsleep(&nfs_iodwant[myiod], PWAIT | PCATCH,
"nfsidl", timo);
}
if (error)