Author: ken
Date: Sat Aug 24 19:02:36 2013
New Revision: 254802
URL: http://svnweb.freebsd.org/changeset/base/254802

Log:
  Fix a printf format warning on 32-bit mips and powerpc.
  
  Reported by:  bde, gjb
  Pointy hat to:        ken

Modified:
  head/sys/kern/kern_physio.c

Modified: head/sys/kern/kern_physio.c
==============================================================================
--- head/sys/kern/kern_physio.c Sat Aug 24 17:45:42 2013        (r254801)
+++ head/sys/kern/kern_physio.c Sat Aug 24 19:02:36 2013        (r254802)
@@ -117,10 +117,10 @@ physio(struct cdev *dev, struct uio *uio
                                 * 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;
                                }
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to