Subject: kern/13470: an extra newline in copyright
To: None <gnats-bugs@gnats.netbsd.org>
From: None <isaki@par.odn.ne.jp>
List: netbsd-bugs
Date: 07/15/2001 20:48:53
>Number:         13470
>Category:       kern
>Synopsis:       an extra newline in copyright
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 15 04:46:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Tetsuya Isaki
>Release:        NetBSD/i386 1.5W, NetBSD/x68k 1.5W
>Organization:
	none
>Environment:
NetBSD erika.local 1.5W NetBSD 1.5W (ERIKA-CURRENT) #13: Sat Jul 14 23:17:40 JST 2001     root@erika.local:/var/obj/current/i386/sys/arch/i386/compile/ERIKA-CURRENT i386

>Description:
An extra newline was added in copyright notice.

>How-To-Repeat:
Boot the kernel after 2001/06/08.
But on i386, I cannot notice it.
On x68k, console is cleared between executing boot manager
and kernel. then I found it.

>Fix:
please see cvs diff -r1.190 -r1.191 syssrc/sys/kern/init_main.c
and apply this patch.

Index: init_main.c
===================================================================
RCS file: /cvs/cvsroot/syssrc/sys/kern/init_main.c,v
retrieving revision 1.192
diff -u -r1.192 init_main.c
--- init_main.c	2001/06/16 12:00:02	1.192
+++ init_main.c	2001/07/15 11:41:58
@@ -111,7 +111,7 @@
 #include <net/if.h>
 #include <net/raw_cb.h>
 
-const char copyright[] = "\n"
+const char copyright[] =
 "Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001\n"
 "    The NetBSD Foundation, Inc.  All rights reserved.\n"
 "Copyright (c) 1982, 1986, 1989, 1991, 1993\n"
>Release-Note:
>Audit-Trail:
>Unformatted: