Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/bootp/bootpef usage: Print program name. Whitespac...



details:   https://anonhg.NetBSD.org/src/rev/d729d7057687
branches:  trunk
changeset: 571316:d729d7057687
user:      hira <hira%NetBSD.org@localhost>
date:      Wed Nov 17 13:21:09 2004 +0000

description:
usage: Print program name.  Whitespace nit.
Reviewed by uebayasi@.  This closes PR bin/26534.

diffstat:

 usr.sbin/bootp/bootpef/bootpef.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 81da9ea117d7 -r d729d7057687 usr.sbin/bootp/bootpef/bootpef.c
--- a/usr.sbin/bootp/bootpef/bootpef.c  Wed Nov 17 12:51:20 2004 +0000
+++ b/usr.sbin/bootp/bootpef/bootpef.c  Wed Nov 17 13:21:09 2004 +0000
@@ -22,7 +22,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: bootpef.c,v 1.5 2002/07/13 23:58:30 wiz Exp $");
+__RCSID("$NetBSD: bootpef.c,v 1.6 2004/11/17 13:21:09 hira Exp $");
 #endif
 
 
@@ -116,7 +116,8 @@
 usage(void)
 {
        fprintf(stderr,
-          "usage:  $s [ -c chdir ] [-d level] [-f configfile] [host...]\n");
+           "usage: %s [-c chdir] [-d level] [-f configfile] [host ...]\n",
+           getprogname());
        fprintf(stderr, "\t -c n\tset current directory\n");
        fprintf(stderr, "\t -d n\tset debug level\n");
        fprintf(stderr, "\t -f n\tconfig file name\n");



Home | Main Index | Thread Index | Old Index