diff options
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/strace.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linux-user/strace.c b/linux-user/strace.c index 6090dcc65d..d77053b303 100644 --- a/linux-user/strace.c +++ b/linux-user/strace.c @@ -1252,8 +1252,10 @@ if( cmd == val ) { \ int cmd = (int)tswap32(tflag); #ifdef FUTEX_PRIVATE_FLAG - if (cmd == FUTEX_PRIVATE_FLAG) + if (cmd & FUTEX_PRIVATE_FLAG) { gemu_log("FUTEX_PRIVATE_FLAG|"); + cmd &= ~FUTEX_PRIVATE_FLAG; + } #endif print_op(FUTEX_WAIT) print_op(FUTEX_WAKE) |