From 6d82733dfa661eddccfa3cae7232773cafd66a82 Mon Sep 17 00:00:00 2001 From: hien Date: Wed, 31 May 2006 17:33:27 +0000 Subject: [PATCH] Fix _mlocakall flags --- tapset/aux_syscalls.stp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp index a7370f61f..00d909469 100644 --- a/tapset/aux_syscalls.stp +++ b/tapset/aux_syscalls.stp @@ -884,8 +884,8 @@ function _recvflags_str(f) { /* `man mlockall` for more information */ function _mlockall_flags_str(f) { - if(f & 2) bs="MCL_CURRENT|".bs - if(f & 1) bs="MCL_FUTURE|".bs + if(f & 1) bs="MCL_CURRENT|".bs + if(f & 2) bs="MCL_FUTURE|".bs return substr(bs,0,strlen(bs)-1) } -- 2.43.5