diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-11 19:26:53 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-11 19:26:53 +0000 |
commit | 0e1db07cf9044a3bbfd713ff85528c129ed754ba (patch) | |
tree | 461a2b653690a240b421c8d7ee556596a41c3c5b /sys/i386/eisa | |
parent | e3b120088fc0412693845ad0df34cf1d3551744d (diff) | |
download | FreeBSD-src-0e1db07cf9044a3bbfd713ff85528c129ed754ba.zip FreeBSD-src-0e1db07cf9044a3bbfd713ff85528c129ed754ba.tar.gz |
Fix -Wformat warnings from LINT kernel.
Diffstat (limited to 'sys/i386/eisa')
-rw-r--r-- | sys/i386/eisa/aha1742.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/i386/eisa/aha1742.c b/sys/i386/eisa/aha1742.c index 1bbe374..0d31e01 100644 --- a/sys/i386/eisa/aha1742.c +++ b/sys/i386/eisa/aha1742.c @@ -14,7 +14,7 @@ * * commenced: Sun Sep 27 18:14:01 PDT 1992 * - * $Id: aha1742.c,v 1.31 1995/04/12 20:47:34 wollman Exp $ + * $Id: aha1742.c,v 1.32 1995/05/09 12:25:50 rgrimes Exp $ */ #include <sys/types.h> @@ -996,7 +996,7 @@ ahb_scsi_cmd(xs) return (TRY_AGAIN_LATER); } cheat = ecb; - SC_DEBUG(xs->sc_link, SDEV_DB3, ("start ecb(%x)\n", ecb)); + SC_DEBUG(xs->sc_link, SDEV_DB3, ("start ecb(%p)\n", ecb)); ecb->xs = xs; /* * If it's a reset, we need to do an 'immediate' @@ -1073,7 +1073,7 @@ ahb_scsi_cmd(xs) */ SC_DEBUG(xs->sc_link, SDEV_DB4, - ("%d @0x%x:- ", xs->datalen, xs->data)); + ("%ld @%p:- ", xs->datalen, xs->data)); datalen = xs->datalen; thiskv = (int) xs->data; thisphys = KVTOPHYS(thiskv); @@ -1084,7 +1084,8 @@ ahb_scsi_cmd(xs) /* put in the base address */ sg->addr = thisphys; - SC_DEBUGN(xs->sc_link, SDEV_DB4, ("0x%x", thisphys)); + SC_DEBUGN(xs->sc_link, SDEV_DB4, ("0x%lx", + thisphys)); /* do it at least once */ nextphys = thisphys; |