diff options
Diffstat (limited to 'sys/nfsclient/nfs_nfsiod.c')
-rw-r--r-- | sys/nfsclient/nfs_nfsiod.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfsclient/nfs_nfsiod.c b/sys/nfsclient/nfs_nfsiod.c index 8762b16..c244972 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) |