Subject: bin/4064: makedbm.8's usage lacks a \n
To: None <gnats-bugs@gnats.netbsd.org>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: netbsd-bugs
Date: 08/29/1997 23:00:53
>Number:         4064
>Category:       bin
>Synopsis:       makedbm.8's usage lacks a \n
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 29 21:35:02 1997
>Last-Modified:
>Originator:     Hubert Feyrer
>Organization:
Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de>
>Release:        NetBSD/i386 1.2G 970815 snapshot
>Environment:
	
System: NetBSD miyu 1.2G NetBSD 1.2G (MIYU) #1: Thu Aug 28 04:08:07 MEST 1997 feyrer@:/usr/src12G-970815/sys/arch/i386/compile/MIYU i386


>Description:
	The usage output from makedbm when invoked with no arguments
	lacks a "\n".

>How-To-Repeat:
miyu% makedbm
usage: makedbm -u file       makedbm [-lbs] [-i YP_INPUT_FILE] [-o YP_OUTPUT_FILE]
          [-d YP_DOMAIN_NAME] [-m YP_MASTER_NAME] infile outfile

>Fix:
	--- /usr/src/usr.sbin/ypserv/makedbm/makedbm.c.orig	Fri Aug 29 22:56:53 1997
	+++ /usr/src/usr.sbin/ypserv/makedbm/makedbm.c	Fri Aug 29 22:57:05 1997
	@@ -347,7 +347,7 @@
	 usage()
	 {
	 
	-	fprintf(stderr, "usage: %s -u file", __progname);
	+	fprintf(stderr, "usage: %s -u file\n", __progname);
	 	fprintf(stderr, "       %s [-lbs] %s\n", __progname,
	 	    "[-i YP_INPUT_FILE] [-o YP_OUTPUT_FILE]");
	 	fprintf(stderr, "          %s infile outfile\n",
>Audit-Trail:
>Unformatted: