Date: Thu, 8 Oct 2009 21:48:51 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r197878 - projects/capabilities8/sys/kern Message-ID: <200910082148.n98Lmpho034407@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rwatson Date: Thu Oct 8 21:48:51 2009 New Revision: 197878 URL: http://svn.freebsd.org/changeset/base/197878 Log: Manually merge r197794 from head to capabilities8: Fix build on amd64, where sysctl arg1 is a pointer. Reported by: Mr Tinderbox Modified: projects/capabilities8/sys/kern/uipc_usrreq.c Modified: projects/capabilities8/sys/kern/uipc_usrreq.c ============================================================================== --- projects/capabilities8/sys/kern/uipc_usrreq.c Thu Oct 8 21:47:22 2009 (r197877) +++ projects/capabilities8/sys/kern/uipc_usrreq.c Thu Oct 8 21:48:51 2009 (r197878) @@ -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); } /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910082148.n98Lmpho034407>