Module Name: src Committed By: christos Date: Thu Mar 20 21:30:52 UTC 2014
Modified Files: src/sys/dev/pci: oboe.c Log Message: fix format confusion To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/sys/dev/pci/oboe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/pci/oboe.c diff -u src/sys/dev/pci/oboe.c:1.40 src/sys/dev/pci/oboe.c:1.41 --- src/sys/dev/pci/oboe.c:1.40 Thu Mar 20 16:41:11 2014 +++ src/sys/dev/pci/oboe.c Thu Mar 20 17:30:52 2014 @@ -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 @@ oboe_read(void *h, struct uio *uio, int 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) {