From 604f19c91ec0a9b1b5727a71023b926a4b462420 Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Mon, 5 Oct 2009 22:23:12 +0000 Subject: [PATCH] Fix build on amd64, where sysctl arg1 is a pointer. Reported by: Mr Tinderbox MFC after: 3 months --- sys/kern/uipc_usrreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c index 598080171ab2..fdf3d902509f 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); } /*