summaryrefslogtreecommitdiffstats
path: root/tapset
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2011-04-13 14:21:56 -0400
committerSteve Dickson <steved@redhat.com>2011-04-13 14:21:56 -0400
commita785da0ef3671f1c73b9d69e77f1b1f65d7ef76c (patch)
treef6ac766cf35e5ba263c8265afd05652bbb35fab1 /tapset
parent4dc3f977f345841719e810fd60add23914910155 (diff)
downloadsystemtap-a785da0ef3671f1c73b9d69e77f1b1f65d7ef76c.tar.gz
systemtap-a785da0ef3671f1c73b9d69e77f1b1f65d7ef76c.tar.xz
systemtap-a785da0ef3671f1c73b9d69e77f1b1f65d7ef76c.zip
Added pnfsd/layoutget
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'tapset')
-rw-r--r--tapset/nfs4errno.stp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tapset/nfs4errno.stp b/tapset/nfs4errno.stp
index eb5aee7..5630cf6 100644
--- a/tapset/nfs4errno.stp
+++ b/tapset/nfs4errno.stp
@@ -69,7 +69,7 @@ function nfs4error:string(err:long)
}
}
if (i == tabsz)
- snprintf(THIS->__retvalue, MAXSTRINGLEN, "nfs4err %d", ntohl(THIS->err));
+ snprintf(THIS->__retvalue, MAXSTRINGLEN, "nfs4err %d", (int)THIS->err);
else
snprintf(THIS->__retvalue, MAXSTRINGLEN,
"nfs4err %d(%s)", nfs_errtbl[i].nfserr, nfs_errtbl[i].string);