Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci fix format confusion



details:   https://anonhg.NetBSD.org/src/rev/7d4b4626b371
branches:  trunk
changeset: 327914:7d4b4626b371
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Mar 20 21:30:52 2014 +0000

description:
fix format confusion

diffstat:

 sys/dev/pci/oboe.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 3af097e6597c -r 7d4b4626b371 sys/dev/pci/oboe.c
--- a/sys/dev/pci/oboe.c        Thu Mar 20 20:51:40 2014 +0000
+++ b/sys/dev/pci/oboe.c        Thu Mar 20 21:30:52 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: oboe.c,v 1.40 2014/03/20 20:41:11 christos Exp $       */
+/*     $NetBSD: oboe.c,v 1.41 2014/03/20 21:30:52 christos Exp $       */
 
 /*     XXXXFVDL THIS DRIVER IS BROKEN FOR NON-i386 -- vtophys() usage  */
 
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: oboe.c,v 1.40 2014/03/20 20:41:11 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: oboe.c,v 1.41 2014/03/20 21:30:52 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -298,9 +298,9 @@
        int s;
        int slot;
 
-       DPRINTF(("%s: resid=%zu, iovcnt=%d, offset=%td\n",
+       DPRINTF(("%s: resid=%zu, iovcnt=%d, offset=%jd\n",
                 __func__, uio->uio_resid, uio->uio_iovcnt,
-                uio->uio_offset));
+                (intmax_t)uio->uio_offset));
 
        s = splir();
        while (sc->sc_saved == 0) {



Home | Main Index | Thread Index | Old Index