Following patch should silence it.

Cheers,

Jerry Hicks
[EMAIL PROTECTED]

Index: src/sys/dev/md/md.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/md/md.c,v
retrieving revision 1.66
diff -u -r1.66 md.c
--- src/sys/dev/md/md.c 24 Jun 2002 12:07:02 -0000      1.66
+++ src/sys/dev/md/md.c 16 Jul 2002 21:32:44 -0000
@@ -606,6 +606,7 @@
                         error = mdstart_swap(sc, bp);
                         break;
                 default:
+                       error = -1;
                         panic("Impossible md(type)");
                         break;
                 }


On Tuesday, July 16, 2002, at 09:00 AM, Dikshie wrote:

>
> Hello,
>
> I got error on step make buildkernel KERNCONF=MANDIRI   :
>
> cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs 
> -Wstrict-prototypes  -W
> missing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wno-format 
> -ansi -g -n
> ostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/dev 
> -I/usr/src/sys/contrib/dev/ac
> pica -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/../include 
> -D_KERNEL -includ
> e opt_global.h -fno-common   -mpreferred-stack-boundary=2 
> -ffreestanding -Werror
>   /usr/src/sys/dev/md/md.c
> cc1: warnings being treated as errors
> /usr/src/sys/dev/md/md.c: In function `md_kthread':
> /usr/src/sys/dev/md/md.c:570: warning: `error' might be used 
> uninitialized in th
> is function
> *** Error code 1
> Stop in /usr/obj/usr/src/sys/MANDIRI.
> *** Error code 1
> Stop in /usr/src.
> *** Error code 1
> Stop in /usr/src.
> mandiri#
>
>
>
> did I miss something ?
>
>
> thanks !
>
>
> -dikshie-
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to