Subject: misc/25875: missing option in the usage of modload(8)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <hira@po6.nsk.ne.jp>
List: netbsd-bugs
Date: 06/09/2004 01:28:46
>Number: 25875
>Category: misc
>Synopsis: missing option in the usage of modload(8)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: misc-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Tue Jun 08 17:02:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Kouichirou Hiratsuka
>Release: NetBSD 2.0_BETA
>Organization:
>Environment:
System: NetBSD firefly.localdomain 2.0_BETA NetBSD 2.0_BETA (FIREFLY.MP) #23: Tue Jun 8 02:19:00 JST 2004 hiratuka@firefly.localdomain:/usr/src/sys/arch/i386/compile/FIREFLY.MP i386
Architecture: i386
Machine: i386
>Description:
-T is missing in the usage of modload(8).
% modload
usage:
modload [-dfnsSv] [-A <kernel>] [-e <entry>]
[-p <postinstall>] [-o <output file>] <input file>
>How-To-Repeat:
modload
>Fix:
Index: modload.c
===================================================================
RCS file: /cvs/cvsroot/src/sbin/modload/modload.c,v
retrieving revision 1.45
diff -u -r1.45 modload.c
--- modload.c 19 Mar 2004 12:04:37 -0000 1.45
+++ modload.c 8 Jun 2004 15:23:33 -0000
@@ -122,9 +122,9 @@
fprintf(stderr, "usage:\n");
fprintf(stderr, "modload [-dfnsSv] "
- "[-A <kernel>] [-e <entry>]\n");
+ "[-A <kernel>] [-e <entry>] [-p <postinstall>]\n");
fprintf(stderr,
- " [-p <postinstall>] [-o <output file>] <input file>\n");
+ " [-o <output file>] [-T <linker_script>] <input file>\n");
exit(1);
}
>Release-Note:
>Audit-Trail:
>Unformatted: