Subject: kern/1373: Invalid comment in exec_aout.h
To: None <gnats-bugs@gnats.netbsd.org>
From: None <Mark_Weaver@brown.edu>
List: netbsd-bugs
Date: 08/18/1995 05:37:46
>Number:         1373
>Category:       kern
>Synopsis:       Invalid comment in exec_aout.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   mhw
>Arrival-Date:   Fri Aug 18 05:50:02 1995
>Last-Modified:
>Originator:     Mark Weaver
>Organization:
Brown University Department of Computer Science
>Release:        NetBSD-current 8/11/95
>Environment:
NetBSD cis-ts4-slip4.cis.brown.edu 1.0A NetBSD 1.0A (WEAVER) #0: Fri Aug 11 19:26:06 EDT 1995     mhw@cis-ts4-slip9.cis.brown.edu:/usr/src/sys/arch/i386/compile/WEAVER i386

>Description:
The comment above "struct exec" in exec_aout.h claims the N_SETMAGIC
et al macros are defined in "a.out.h", when in fact that are defined
in exec_aout.h!

>How-To-Repeat:

>Fix:
diff -u  src/sys/sys/exec_aout.h.mhw1 src/sys/sys/exec_aout.h
--- src/sys/sys/exec_aout.h.mhw1	Mon Mar 27 07:04:06 1995
+++ src/sys/sys/exec_aout.h	Mon Jul 17 21:28:46 1995
@@ -37,7 +37,7 @@
 /*
  * Header prepended to each a.out file.
  * only manipulate the a_midmag field via the
- * N_SETMAGIC/N_GET{MAGIC,MID,FLAG} macros in a.out.h
+ * N_SETMAGIC/N_GET{MAGIC,MID,FLAG} macros below
  */
 struct exec {
 	u_long	a_midmag;	/* htonl(flags<<26 | mid<<16 | magic) */
>Audit-Trail:
>Unformatted: