diff options
author | davidxu <davidxu@FreeBSD.org> | 2008-04-02 05:54:41 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2008-04-02 05:54:41 +0000 |
commit | aefa44f0cc0aed8dbab7c9b8e6b44ed0aabd592a (patch) | |
tree | c53306646b48991d23a85f575ef0b29b9d7b3a0f /sys | |
parent | 18c266c7a7d54af5b4616daa7883e9a476a977e4 (diff) | |
download | FreeBSD-src-aefa44f0cc0aed8dbab7c9b8e6b44ed0aabd592a.zip FreeBSD-src-aefa44f0cc0aed8dbab7c9b8e6b44ed0aabd592a.tar.gz |
Fix compiling problem for amd64.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_umtx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_umtx.c b/sys/kern/kern_umtx.c index 344c104..7da9a08 100644 --- a/sys/kern/kern_umtx.c +++ b/sys/kern/kern_umtx.c @@ -3082,7 +3082,7 @@ __umtx_op_rw_wrlock_compat32(struct thread *td, struct _umtx_op_args *uap) /* Allow a null timespec (wait forever). */ if (uap->uaddr2 == NULL) { - error = do_rwlock_wrlock(td, uap->obj, 0); + error = do_rw_wrlock(td, uap->obj, 0); } else { error = copyin_timeout32(uap->uaddr2, &timeout); if (error != 0) @@ -3092,7 +3092,7 @@ __umtx_op_rw_wrlock_compat32(struct thread *td, struct _umtx_op_args *uap) return (EINVAL); } - error = do_rw_wrlock2(td, uap->obj, uap->val, &timeout); + error = do_rw_wrlock2(td, uap->obj, &timeout); } return (error); } |