summaryrefslogtreecommitdiff
path: root/sys/kern/kern_synch.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2005-12-13 07:34:39 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2005-12-13 07:34:39 +0000
commit0c56c75496081e7de984127c2c0b3c32ba63e974 (patch)
treef0ab91a1bf3007a61c8031633c5bf250ecf58183 /sys/kern/kern_synch.c
parent1252e005f1825f7201939717c8ad478d179b95cd (diff)
stupid me got the cast backwards
Diffstat (limited to 'sys/kern/kern_synch.c')
-rw-r--r--sys/kern/kern_synch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c
index 2c75a2d41e8..d809221d570 100644
--- a/sys/kern/kern_synch.c
+++ b/sys/kern/kern_synch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_synch.c,v 1.68 2005/12/13 06:03:54 tedu Exp $ */
+/* $OpenBSD: kern_synch.c,v 1.69 2005/12/13 07:34:38 tedu Exp $ */
/* $NetBSD: kern_synch.c,v 1.37 1996/04/22 01:38:37 christos Exp $ */
/*
@@ -422,7 +422,7 @@ int
sys_thrwakeup(struct proc *p, void *v, register_t *retval)
{
struct sys_thrwakeup_args *uap = v;
- long ident = (void *)SCARG(uap, ident);
+ long ident = (long)SCARG(uap, ident);
struct twaitnode *n;
LIST_FOREACH(n, &p->p_thrparent->p_sleepers, t_next) {