diff options
| author | Steve Dickson <steved@redhat.com> | 2011-06-01 15:31:34 -0400 |
|---|---|---|
| committer | Steve Dickson <steved@redhat.com> | 2011-06-01 15:31:34 -0400 |
| commit | a285d06fe0387b0b20d1f672dce1ecf94cf82692 (patch) | |
| tree | b43fc9f0aac2bcc8f4f397214249167a4891698a /tapset | |
| parent | 178b38cbd6e97e5d70cb58f32bf5853e73af4cf5 (diff) | |
| download | systemtap-a285d06fe0387b0b20d1f672dce1ecf94cf82692.tar.gz systemtap-a285d06fe0387b0b20d1f672dce1ecf94cf82692.tar.xz systemtap-a285d06fe0387b0b20d1f672dce1ecf94cf82692.zip | |
Fixed a few bugs
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'tapset')
| -rw-r--r-- | tapset/task.stp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tapset/task.stp b/tapset/task.stp index 0d927ca..9a635ca 100644 --- a/tapset/task.stp +++ b/tapset/task.stp @@ -24,7 +24,7 @@ function task_dump:string(_task:long) %} function xprt_dump:string(_task:long) %{ - struct rpc_task *task; + struct rpc_task *task = (struct rpc_task *)(long) kread(&(THIS->_task)); struct rpc_rqst *req; struct rpc_xprt *xprt; char buf[64]; @@ -44,8 +44,7 @@ function xprt_dump:string(_task:long) sprintf(buf+cc, "xprt is NULL"); goto leave; } - sprintf(buf+cc, ": xprt 0x%p ops 0x%p state 0x%lx", - xprt, xprt->ops, xprt->state); + sprintf(buf+cc, ": xprt 0x%p state 0x%lx", xprt, xprt->state); cc = strlen(buf); leave: snprintf(THIS->__retvalue, 64, "%s", buf); |
