summaryrefslogtreecommitdiffstats
path: root/sys/tools
diff options
context:
space:
mode:
authorgonzo <gonzo@FreeBSD.org>2012-12-28 06:52:53 +0000
committergonzo <gonzo@FreeBSD.org>2012-12-28 06:52:53 +0000
commit0875ed61b83c7e845b2cba4e3528b5d9603c536d (patch)
tree36e74636416ccc413e7470496c4686534a3fb5aa /sys/tools
parent1231ad9b21d9067c9412fbbaa340325580236db7 (diff)
downloadFreeBSD-src-0875ed61b83c7e845b2cba4e3528b5d9603c536d.zip
FreeBSD-src-0875ed61b83c7e845b2cba4e3528b5d9603c536d.tar.gz
Fix build on ARM (and probably other platforms)
Diffstat (limited to 'sys/tools')
-rw-r--r--sys/tools/vnode_if.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/tools/vnode_if.awk b/sys/tools/vnode_if.awk
index fc12ce9..c991458 100644
--- a/sys/tools/vnode_if.awk
+++ b/sys/tools/vnode_if.awk
@@ -270,7 +270,7 @@ while ((getline < srcfile) > 0) {
ctrargs = 4;
else
ctrargs = numargs;
- ctrstr = ctrargs "(KTR_VOP, \"VOP\", \"" uname "\", a,\n\t ";
+ ctrstr = ctrargs "(KTR_VOP, \"VOP\", \"" uname "\", (uintptr_t)a,\n\t ";
ctrstr = ctrstr "\"" args[0] ":0x%jX\", (uintptr_t)a->a_" args[0];
for (i = 1; i < ctrargs; ++i)
ctrstr = ctrstr ", \"" args[i] ":0x%jX\", a->a_" args[i];
OpenPOWER on IntegriCloud