summaryrefslogtreecommitdiff
path: root/sys/arch/atari/dev/hdfd.c
diff options
context:
space:
mode:
authorhe <he@NetBSD.org>2008-12-18 10:58:17 +0000
committerhe <he@NetBSD.org>2008-12-18 10:58:17 +0000
commit1c6fe739fe367ea91efb20387464cfe9b66ab3bb (patch)
tree38f5e7a245ac7cabaea50ababb10b9db4050c046 /sys/arch/atari/dev/hdfd.c
parent182f0b93be708005e8b309975bb112c32bd80f4c (diff)
Correct two typos and remove a now-unused variable to make this
build again.
Diffstat (limited to 'sys/arch/atari/dev/hdfd.c')
-rw-r--r--sys/arch/atari/dev/hdfd.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/arch/atari/dev/hdfd.c b/sys/arch/atari/dev/hdfd.c
index bae97107f7a..070e4225101 100644
--- a/sys/arch/atari/dev/hdfd.c
+++ b/sys/arch/atari/dev/hdfd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hdfd.c,v 1.63 2008/12/16 22:35:22 christos Exp $ */
+/* $NetBSD: hdfd.c,v 1.64 2008/12/18 10:58:17 he Exp $ */
/*-
* Copyright (c) 1996 Leo Weppelman
@@ -91,7 +91,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hdfd.c,v 1.63 2008/12/16 22:35:22 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hdfd.c,v 1.64 2008/12/18 10:58:17 he Exp $");
#include "opt_ddb.h"
@@ -912,7 +912,7 @@ fdcstatus(dv, n, s)
printf(" (st0 %s cyl %d)\n", bits, fdc->sc_status[1]);
break;
case 7:
- fscpstatus(fsc);
+ fdcpstatus(fdc);
break;
#ifdef DIAGNOSTIC
default:
@@ -1263,7 +1263,6 @@ void
fdcretry(fdc)
struct fdc_softc *fdc;
{
- char bits[64];
struct fd_softc *fd;
struct buf *bp;
@@ -1295,7 +1294,7 @@ fdcretry(fdc)
diskerr(bp, "fd", "hard error", LOG_PRINTF,
fd->sc_skip / FDC_BSIZE,
(struct disklabel *)NULL);
- fscpstatus(fsc);
+ fdcpstatus(fdc);
}
bp->b_error = EIO;
fdfinish(fd, bp);