summaryrefslogtreecommitdiff
path: root/sys/arch/atari/dev
diff options
context:
space:
mode:
authorhe <he@NetBSD.org>2007-10-17 17:58:56 +0000
committerhe <he@NetBSD.org>2007-10-17 17:58:56 +0000
commit663275b41c4c26a7dd5491cd960a58e26e7aa7b4 (patch)
treea47d9d2d2d6b13e1a8fca5abd90eb275ba889fbd /sys/arch/atari/dev
parentb68a467e515b254ba5c769b3cdf7b1b554204bb5 (diff)
Fix typo: in disk_init() call: fd -> sc.
Diffstat (limited to 'sys/arch/atari/dev')
-rw-r--r--sys/arch/atari/dev/fd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/atari/dev/fd.c b/sys/arch/atari/dev/fd.c
index 61f44fc3206..1b87d855dfe 100644
--- a/sys/arch/atari/dev/fd.c
+++ b/sys/arch/atari/dev/fd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fd.c,v 1.59 2007/10/08 16:41:06 ad Exp $ */
+/* $NetBSD: fd.c,v 1.60 2007/10/17 17:58:56 he Exp $ */
/*
* Copyright (c) 1995 Leo Weppelman.
@@ -49,7 +49,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.59 2007/10/08 16:41:06 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.60 2007/10/17 17:58:56 he Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -406,7 +406,7 @@ void *auxp;
/*
* Initialize and attach the disk structure.
*/
- disk_init(&sc->dkdev, fd->sc_dv.dv_xname, &fddkdriver);
+ disk_init(&sc->dkdev, sc->sc_dv.dv_xname, &fddkdriver);
disk_attach(&sc->dkdev);
}