From owner-freebsd-current Tue Jul 16 14:37: 7 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7532737B400 for ; Tue, 16 Jul 2002 14:37:00 -0700 (PDT) Received: from gehicks.dyndns.org (adsl-35-49-18.asm.bellsouth.net [67.35.49.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCE9F43E3B for ; Tue, 16 Jul 2002 14:36:59 -0700 (PDT) (envelope-from gehicks@gehicks.dyndns.org) Received: from mac (mac [10.0.0.13]) by gehicks.dyndns.org (8.12.5/8.12.5) with ESMTP id g6GLiIVH003558; Tue, 16 Jul 2002 21:44:18 GMT (envelope-from gehicks@gehicks.dyndns.org) Date: Tue, 16 Jul 2002 17:36:52 -0400 Subject: Re: /usr/src/dev/md error (?) Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v482) Cc: current@freebsd.org To: Dikshie From: W Gerald Hicks In-Reply-To: <20020716200024.A57094@ppk.itb.ac.id> Message-Id: <24A26492-9904-11D6-99DB-0030657B5F1E@gehicks.dyndns.org> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.482) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Following patch should silence it. Cheers, Jerry Hicks gehicks@gehicks.dyndns.org 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 majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message