aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_futex.c
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2008-11-16 15:45:41 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2008-11-16 15:45:41 +0000
commit62162dfc948bf1425ebf1b6b6df1d52cd8656f83 (patch)
tree2b67d2722e9a117876eddf97f798a65247e3b9b5 /sys/compat/linux/linux_futex.c
parentd47e6e6bd1828468161b7dbb648696eb480d7c87 (diff)
Notes
Diffstat (limited to 'sys/compat/linux/linux_futex.c')
-rw-r--r--sys/compat/linux/linux_futex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_futex.c b/sys/compat/linux/linux_futex.c
index c2792761c8e3..b19d2906dabe 100644
--- a/sys/compat/linux/linux_futex.c
+++ b/sys/compat/linux/linux_futex.c
@@ -652,7 +652,7 @@ release_futexes(struct proc *p)
struct linux_robust_list *entry, *next_entry, *pending;
unsigned int limit = 2048, pi, next_pi, pip;
struct linux_emuldata *em;
- l_ulong futex_offset;
+ l_long futex_offset;
int rc;
em = em_find(p, EMUL_DONTLOCK);
@@ -664,7 +664,7 @@ release_futexes(struct proc *p)
if (fetch_robust_entry(&entry, PTRIN(&head->list.next), &pi))
return;
- if (copyin(&head->futex_offset, &futex_offset, sizeof(l_ulong)))
+ if (copyin(&head->futex_offset, &futex_offset, sizeof(futex_offset)))
return;
if (fetch_robust_entry(&pending, PTRIN(&head->pending_list), &pip))