Subject: bin/2873: disklabel won't compile
To: None <gnats-bugs@gnats.netbsd.org>
From: David Carrel <carrel@ipsec.com>
List: netbsd-bugs
Date: 10/20/1996 13:55:02
>Number: 2873
>Category: bin
>Synopsis: disklabel won't compile on hp300 and vax (ie when NUMBOOT==1)
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Oct 20 14:05:00 1996
>Last-Modified:
>Originator: David Carrel
>Organization:
I want a beer!
>Release: NetBSD-current supped 19 Oct 1996
>Environment:
System: NetBSD spy 1.2 NetBSD 1.2 (SPY) #5: Sun Sep 15 20:53:37 PDT 1996 carrel@spy:/.a/haydon/home/NetBSD/src/sys/arch/i386/compile/SPY i386
>Description:
There is a missing '}' in disklabel.c for the case where NUMBOOT == 1
>How-To-Repeat:
compile on an hp300 or vax
>Fix:
*** disklabel.c.orig Sun Oct 20 11:30:23 1996
--- disklabel.c Sun Oct 20 11:29:37 1996
***************
*** 1571,1577 ****
"(to restore label and boot program)" },
# else
{ "%s -B [ -b bootprog ] disk [ type ]",
! "(to install boot program with existing on-disk label)",
{ "%s -w -B [ -b bootprog ] disk type [ packid ]",
"(to write label and install boot program)" },
{ "%s -R -B [ -b bootprog ] disk protofile [ type ]",
--- 1571,1577 ----
"(to restore label and boot program)" },
# else
{ "%s -B [ -b bootprog ] disk [ type ]",
! "(to install boot program with existing on-disk label)" },
{ "%s -w -B [ -b bootprog ] disk type [ packid ]",
"(to write label and install boot program)" },
{ "%s -R -B [ -b bootprog ] disk protofile [ type ]",
>Audit-Trail:
>Unformatted: