diff options
author | ssouhlal <ssouhlal@FreeBSD.org> | 2006-08-19 11:07:22 +0000 |
---|---|---|
committer | ssouhlal <ssouhlal@FreeBSD.org> | 2006-08-19 11:07:22 +0000 |
commit | 87d8084ec5153045d489bc99e475cfe5dfeee2f0 (patch) | |
tree | 699e7007a6986a4534b174ef08a0a66364997f55 /sys/compat | |
parent | a0a656a4f785ee53e32309233d1ea839b686d2ca (diff) | |
download | FreeBSD-src-87d8084ec5153045d489bc99e475cfe5dfeee2f0.zip FreeBSD-src-87d8084ec5153045d489bc99e475cfe5dfeee2f0.tar.gz |
ifdef DEBUG a printf
Submitted by: rdivacky
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/linux/linux_futex.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_futex.c b/sys/compat/linux/linux_futex.c index 8e7ee23..ec329ca 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); |