Subject: kern/12167: Can't compile the kernel which built in mcd.c
To: None <gnats-bugs@gnats.netbsd.org>
From: None <x-y-z@lab.gr.jp>
List: netbsd-bugs
Date: 02/09/2001 21:13:20
>Number:         12167
>Category:       kern
>Synopsis:       Can't compile the kernel which built in mcd.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 09 21:16:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Kazuto Ushioda
>Release:        -current
>Organization:
>Environment:
NetBSD * 1.5R NetBSD 1.5R (*) #0: Thu Feb  8 15:31:46 JST 2001     root@*:/usr/src/sys/arch/i386/compile/* i386
>Description:
Can't compile the kernel which built in mcd.c
>How-To-Repeat:

>Fix:
Index: sys/dev/isa/mcd.c
===================================================================
RCS file: /cvs/cvsroot/syssrc/sys/dev/isa/mcd.c,v
retrieving revision 1.69
diff -u -r1.69 mcd.c
--- mcd.c       2001/01/08 02:03:47     1.69
+++ mcd.c       2001/02/10 05:03:15
@@ -614,7 +614,7 @@
        case DIOCGDINFO:
                *(struct disklabel *)addr = *(sc->sc_dk.dk_label);
                return 0;
-ifdef __HAVE_OLD_DISKLABEL
+#ifdef __HAVE_OLD_DISKLABEL
        case ODIOCGDINFO:
                newlabel = *(sc->sc_dk.dk_label);
                if (newlabel.d_npartitions > OLDMAXPARTITIONS)
>Release-Note:
>Audit-Trail:
>Unformatted: