diff options
author | rwatson <rwatson@FreeBSD.org> | 2009-10-05 22:23:12 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2009-10-05 22:23:12 +0000 |
commit | 60dba30ff05ca8713769faded0bcf757a4ef9c0b (patch) | |
tree | 65a100204b4b244373549432eb64fab1e9adf5fe | |
parent | a71c2bfcab51b8a7e7359a2c1a1a7ba7612bc6d7 (diff) | |
download | FreeBSD-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
-rw-r--r-- | sys/kern/uipc_usrreq.c | 2 |
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); } /* |