Fix a printf format warning on 32-bit mips and powerpc.

Reported by:	bde, gjb
Pointy hat to:	ken
This commit is contained in:
Kenneth D. Merry 2013-08-24 19:02:36 +00:00
parent 3b460852c4
commit aaea33e51f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=254802

View File

@ -117,10 +117,10 @@ physio(struct cdev *dev, struct uio *uio, int ioflag)
* This device does not want I/O to be split.
*/
if (dev->si_flags & SI_NOSPLIT) {
printf("%s: request ptr %#jx is not "
printf("%s: request ptr %p is not "
"on a page boundary, cannot split "
"request\n", devtoname(dev),
(uintmax_t)bp->b_data);
bp->b_data);
error = EFBIG;
goto doerror;
}