Fix build on amd64, where sysctl arg1 is a pointer.

Reported by:	Mr Tinderbox
MFC after:	3 months
This commit is contained in:
Robert Watson 2009-10-05 22:23:12 +00:00
parent 8b8a820ded
commit 604f19c91e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=197794

View File

@ -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);
}
/*