summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_usrreq.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-10-05 22:23:12 +0000
committerrwatson <rwatson@FreeBSD.org>2009-10-05 22:23:12 +0000
commit60dba30ff05ca8713769faded0bcf757a4ef9c0b (patch)
tree65a100204b4b244373549432eb64fab1e9adf5fe /sys/kern/uipc_usrreq.c
parenta71c2bfcab51b8a7e7359a2c1a1a7ba7612bc6d7 (diff)
downloadFreeBSD-src-60dba30ff05ca8713769faded0bcf757a4ef9c0b.zip
FreeBSD-src-60dba30ff05ca8713769faded0bcf757a4ef9c0b.tar.gz
Fix build on amd64, where sysctl arg1 is a pointer.
Reported by: Mr Tinderbox MFC after: 3 months
Diffstat (limited to 'sys/kern/uipc_usrreq.c')
-rw-r--r--sys/kern/uipc_usrreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c
index 5980801..fdf3d902 100644
--- a/sys/kern/uipc_usrreq.c
+++ b/sys/kern/uipc_usrreq.c
@@ -1468,7 +1468,7 @@ unp_pcblist(SYSCTL_HANDLER_ARGS)
break;
default:
- panic("unp_pcblist: arg1 %d", (intptr_t)arg1);
+ panic("unp_pcblist: arg1 %d", (int)(intptr_t)arg1);
}
/*
OpenPOWER on IntegriCloud