summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuleiman Souhlal <ssouhlal@FreeBSD.org>2006-08-19 11:07:22 +0000
committerSuleiman Souhlal <ssouhlal@FreeBSD.org>2006-08-19 11:07:22 +0000
commitb273d5aa721fb2c30250e59149c917fd3fea6df5 (patch)
tree699e7007a6986a4534b174ef08a0a66364997f55
parent55416ca8f7aa4c26d06dd829c6ff80b103b46b43 (diff)
Notes
-rw-r--r--sys/compat/linux/linux_futex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_futex.c b/sys/compat/linux/linux_futex.c
index 8e7ee2397a61..ec329ca05585 100644
--- a/sys/compat/linux/linux_futex.c
+++ b/sys/compat/linux/linux_futex.c
@@ -302,7 +302,9 @@ linux_sys_futex(struct thread *td, struct linux_sys_futex_args *args)
ret = futex_wake(f, args->val, NULL);
futex_put(f);
if (op_ret > 0) {
+#ifdef DEBUG
printf("second wakeup\n");
+#endif
op_ret = 0;
/* Linux always puts there 0 retries */
op_ret += futex_wake(f2, 0, NULL);