Module Name: src
Committed By: wiz
Date: Mon Apr 25 22:51:26 UTC 2011
Modified Files:
src/usr.sbin/ypserv/ypxfr: ypxfr.c
Log Message:
Make usage match manpage.
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/usr.sbin/ypserv/ypxfr/ypxfr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/ypserv/ypxfr/ypxfr.c
diff -u src/usr.sbin/ypserv/ypxfr/ypxfr.c:1.19 src/usr.sbin/ypserv/ypxfr/ypxfr.c:1.20
--- src/usr.sbin/ypserv/ypxfr/ypxfr.c:1.19 Thu Nov 5 21:26:25 2009
+++ src/usr.sbin/ypserv/ypxfr/ypxfr.c Mon Apr 25 22:51:26 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: ypxfr.c,v 1.19 2009/11/05 21:26:25 chuck Exp $ */
+/* $NetBSD: ypxfr.c,v 1.20 2011/04/25 22:51:26 wiz Exp $ */
/*
* Copyright (c) 1994 Mats O Jansson <[email protected]>
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: ypxfr.c,v 1.19 2009/11/05 21:26:25 chuck Exp $");
+__RCSID("$NetBSD: ypxfr.c,v 1.20 2011/04/25 22:51:26 wiz Exp $");
#endif
#include <sys/param.h>
@@ -148,9 +148,9 @@
if (need_usage) {
status = YPPUSH_BADARGS;
- fprintf(stderr, "usage: %s [-cf] [-d domain] [-h host] %s\n",
- getprogname(),
- "[-s domain] [-C tid prog ipadd port] mapname");
+ fprintf(stderr, "usage: %s [-cf] [-C tid prog ipadd port] "
+ "[-d domain] [-h host] [-s domain] mapname\n",
+ getprogname());
exit(1);
}