summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhien <hien>2006-06-06 21:43:42 +0000
committerhien <hien>2006-06-06 21:43:42 +0000
commit96c5feca5d295c506ff64595309b353023f739a7 (patch)
treeeb48221d3d8102c42d6c4c76fbc5eb9fdfa9e431
parent26448b0fa14c23524d168b7e97a9e4f578b8200c (diff)
downloadsystemtap-steved-96c5feca5d295c506ff64595309b353023f739a7.tar.gz
systemtap-steved-96c5feca5d295c506ff64595309b353023f739a7.tar.xz
systemtap-steved-96c5feca5d295c506ff64595309b353023f739a7.zip
fix _recvflags_str
-rw-r--r--tapset/aux_syscalls.stp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp
index 00d90946..856d66f8 100644
--- a/tapset/aux_syscalls.stp
+++ b/tapset/aux_syscalls.stp
@@ -876,8 +876,8 @@ function _send_flags_str(f) {
function _recvflags_str(f) {
if(f & 1) bs="MSG_OOB|".bs
if(f & 2) bs="MSG_PEEK|".bs
- if(f & 32) bs="MSG_WAITALL|".bs
- if(f & 256) bs="MSG_TRUNC|".bs
+ if(f & 32) bs="MSG_TRUNC|".bs
+ if(f & 256) bs="MSG_WAITALL|".bs
if(f & 8192) bs="MSG_ERRQUEUE|".bs
return substr(bs,0,strlen(bs)-1)
}