summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-11-24 15:05:04 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-11-24 15:05:04 +0000
commit3c6a10e1931e46e9aea969d611625a6c607f85e0 (patch)
tree633c38ea98a6163d09ce14d4fb93acc8db8ada9c /sys
parentd91301865c395c4bad3d1423f7fd49e9fe3b7433 (diff)
Fix a kernel fault in FDC_C_HANDLER code.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc/dev/fd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc/dev/fd.c b/sys/arch/sparc/dev/fd.c
index e3153abf5a0..8e0a6dbaeb3 100644
--- a/sys/arch/sparc/dev/fd.c
+++ b/sys/arch/sparc/dev/fd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fd.c,v 1.30 2002/11/24 02:00:36 miod Exp $ */
+/* $OpenBSD: fd.c,v 1.31 2002/11/24 15:05:03 miod Exp $ */
/* $NetBSD: fd.c,v 1.51 1997/05/24 20:16:19 pk Exp $ */
/*-
@@ -1035,7 +1035,7 @@ fdcstatus(dv, n, s)
printf("\n");
break;
case 2:
- printf(" (st0 %s cyl %d)\n",
+ printf(" (st0 %b cyl %d)\n",
fdc->sc_status[0], NE7_ST0BITS,
fdc->sc_status[1]);
break;
@@ -1150,7 +1150,7 @@ fdchwintr(fdc)
}
}
done:
- sc->sc_intrcnt.ev_count++;
+ fdc->sc_intrcnt.ev_count++;
return (1);
}
#endif