summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhaolei <zhaolei>2007-09-30 23:54:56 +0000
committerzhaolei <zhaolei>2007-09-30 23:54:56 +0000
commit04930c203ab0172159973cfbe29fac39658ea608 (patch)
tree8dc4e1b6a835bacb5f436fe3110d526c3abfe85b
parentc77ffc8e898afafee51eee7100a1d00b2540f19f (diff)
downloadsystemtap-steved-04930c203ab0172159973cfbe29fac39658ea608.tar.gz
systemtap-steved-04930c203ab0172159973cfbe29fac39658ea608.tar.xz
systemtap-steved-04930c203ab0172159973cfbe29fac39658ea608.zip
2007-10-01 Zhaolei <zhaolei@cn.fujitsu.com>
* socket.stp (_success_check): Fix compare method.
-rw-r--r--tapset/ChangeLog4
-rw-r--r--tapset/socket.stp2
2 files changed, 5 insertions, 1 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog
index 59a73895..30068cde 100644
--- a/tapset/ChangeLog
+++ b/tapset/ChangeLog
@@ -1,3 +1,7 @@
+2007-10-01 Zhaolei <zhaolei@cn.fujitsu.com>
+
+ * socket.stp (_success_check): Fix compare method.
+
2007-09-27 Martin Hunt <hunt@redhat.com>
* aux_syscalls.stp (_stp_lookup_str, _stp_lookup_or_str):
diff --git a/tapset/socket.stp b/tapset/socket.stp
index e18d99ee..77e322d2 100644
--- a/tapset/socket.stp
+++ b/tapset/socket.stp
@@ -898,7 +898,7 @@ probe begin(-1001)
function _success_check(ret:long)
{
- return (ret > 0 ? 1 : 0)
+ return (ret >= 0 ? 1 : 0)
}
function _get_sock_addr:long (file:long)