diff options
-rw-r--r-- | tapset/ChangeLog | 4 | ||||
-rw-r--r-- | tapset/socket.stp | 2 |
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) |