diff options
Diffstat (limited to 'tapset/task.stp')
-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); |