summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-08-04 23:15:21 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-08-04 23:15:21 +0000
commit30359cc6642f550b027db690e16a0986d5697bd6 (patch)
tree9ee604c74de35287fcb1eec8d4328f93caa090f7 /sys/arch
parentad6465b39fbc882ab9d4f2de9174ddbefc465f8b (diff)
fix type of resid in printf
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/alpha/tc/esp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/alpha/tc/esp.c b/sys/arch/alpha/tc/esp.c
index e6d7aece4d1..435dd65a4e9 100644
--- a/sys/arch/alpha/tc/esp.c
+++ b/sys/arch/alpha/tc/esp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: esp.c,v 1.8 1997/01/24 19:58:10 niklas Exp $ */
+/* $OpenBSD: esp.c,v 1.9 1998/08/04 23:15:20 millert Exp $ */
/* $NetBSD: esp.c,v 1.26 1996/12/05 01:39:40 cgd Exp $ */
#ifdef __sparc__
@@ -1011,7 +1011,7 @@ esp_done(sc, ecb)
#ifdef ESP_DEBUG
if (esp_debug & ESP_SHOWMISC) {
if (xs->resid != 0)
- printf("resid=%d ", xs->resid);
+ printf("resid=%lu ", xs->resid);
if (xs->error == XS_SENSE)
printf("sense=0x%02x\n", xs->sense.error_code);
else
@@ -1656,7 +1656,7 @@ espintr(sc)
if (sc->sc_dleft == 0 &&
(sc->sc_espstat & ESPSTAT_TC) == 0)
printf("%s: !TC [intr %x, stat %x, step %d]"
- " prevphase %x, resid %x\n",
+ " prevphase %x, resid %lx\n",
sc->sc_dev.dv_xname,
sc->sc_espintr,
sc->sc_espstat,