summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-03-02 15:13:06 +0000
committerdes <des@FreeBSD.org>2003-03-02 15:13:06 +0000
commit12921dbf827b4063b6fd0fee5595e1304de9311f (patch)
tree80ee0c9e11b439ca4cbd38a0ae7f8aaead0569c5 /sys/fs
parent921a90e35d110368aaa9ad689d93a0c5d4f56166 (diff)
downloadFreeBSD-src-12921dbf827b4063b6fd0fee5595e1304de9311f.zip
FreeBSD-src-12921dbf827b4063b6fd0fee5595e1304de9311f.tar.gz
wakeup(9) and msleep(9) take void * arguments, not caddr_t.
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/procfs/procfs_ctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/fs/procfs/procfs_ctl.c b/sys/fs/procfs/procfs_ctl.c
index c9572b6..6727040 100644
--- a/sys/fs/procfs/procfs_ctl.c
+++ b/sys/fs/procfs/procfs_ctl.c
@@ -242,7 +242,7 @@ out:
PROC_UNLOCK(p);
sx_xunlock(&proctree_lock);
- wakeup((caddr_t) td->td_proc); /* XXX for CTL_WAIT below ? */
+ wakeup(td->td_proc); /* XXX for CTL_WAIT below ? */
break;
@@ -278,13 +278,13 @@ out:
(P_SHOULDSTOP(p)) &&
(p->p_flag & P_TRACED) &&
(p->p_pptr == td->td_proc))
- error = msleep((caddr_t) p, &p->p_mtx,
+ error = msleep(p, &p->p_mtx,
PWAIT|PCATCH, "procfsx", 0);
if (error == 0 && !TRACE_WAIT_P(td->td_proc, p))
error = EBUSY;
} else {
while (error == 0 && P_SHOULDSTOP(p))
- error = msleep((caddr_t) p, &p->p_mtx,
+ error = msleep(p, &p->p_mtx,
PWAIT|PCATCH, "procfs", 0);
}
PROC_UNLOCK(p);
OpenPOWER on IntegriCloud