Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Oct 2009 22:23:13 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r197794 - head/sys/kern
Message-ID:  <200910052223.n95MNDc9027482@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rwatson
Date: Mon Oct  5 22:23:12 2009
New Revision: 197794
URL: http://svn.freebsd.org/changeset/base/197794

Log:
  Fix build on amd64, where sysctl arg1 is a pointer.
  
  Reported by:	Mr Tinderbox
  MFC after:	3 months

Modified:
  head/sys/kern/uipc_usrreq.c

Modified: head/sys/kern/uipc_usrreq.c
==============================================================================
--- head/sys/kern/uipc_usrreq.c	Mon Oct  5 21:11:04 2009	(r197793)
+++ head/sys/kern/uipc_usrreq.c	Mon Oct  5 22:23:12 2009	(r197794)
@@ -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?200910052223.n95MNDc9027482>