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/scsi | |
parent | e3b120088fc0412693845ad0df34cf1d3551744d (diff) | |
download | FreeBSD-src-0e1db07cf9044a3bbfd713ff85528c129ed754ba.zip FreeBSD-src-0e1db07cf9044a3bbfd713ff85528c129ed754ba.tar.gz |
Fix -Wformat warnings from LINT kernel.
Diffstat (limited to 'sys/i386/scsi')
-rw-r--r-- | sys/i386/scsi/aic7xxx.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/i386/scsi/aic7xxx.c b/sys/i386/scsi/aic7xxx.c index cd1be68..f896702 100644 --- a/sys/i386/scsi/aic7xxx.c +++ b/sys/i386/scsi/aic7xxx.c @@ -24,7 +24,7 @@ * * commenced: Sun Sep 27 18:14:01 PDT 1992 * - * $Id: aic7xxx.c,v 1.24 1995/05/01 09:49:45 gibbs Exp $ + * $Id: aic7xxx.c,v 1.25 1995/05/01 18:43:14 gibbs Exp $ */ /* * TODO: @@ -1747,7 +1747,7 @@ ahc_scsi_cmd(xs) xs->error = XS_DRIVER_STUFFUP; return (TRY_AGAIN_LATER); } - SC_DEBUG(xs->sc_link, SDEV_DB3, ("start scb(%x)\n", scb)); + SC_DEBUG(xs->sc_link, SDEV_DB3, ("start scb(%p)\n", scb)); scb->xs = xs; if (flags & SCSI_RESET) { /* XXX: Needs Implementation */ @@ -1784,7 +1784,7 @@ ahc_scsi_cmd(xs) * Set up the scatter gather block */ 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); @@ -1795,7 +1795,8 @@ ahc_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; |