summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobrado <sobrado@openbsd.org>2010-06-28 19:52:03 +0000
committersobrado <sobrado@openbsd.org>2010-06-28 19:52:03 +0000
commit71e275dfc321a635db58860790b1731ffc28307d (patch)
tree818ba10aa2317d6241daf55812443e9ce3b967ee
parentadd missing headers needed for close() and ioctl(). (diff)
downloadwireguard-openbsd-71e275dfc321a635db58860790b1731ffc28307d.tar.xz
wireguard-openbsd-71e275dfc321a635db58860790b1731ffc28307d.zip
remove -r and -s from usage, these options were dropped on a previous
change to bgpd; while here, rewrite usage() in a more usual way. ok jmc@
-rw-r--r--usr.sbin/bgpd/bgpd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/bgpd.c b/usr.sbin/bgpd/bgpd.c
index f463781546b..6c0d2bc946f 100644
--- a/usr.sbin/bgpd/bgpd.c
+++ b/usr.sbin/bgpd/bgpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.c,v 1.164 2010/06/27 19:53:34 claudio Exp $ */
+/* $OpenBSD: bgpd.c,v 1.165 2010/06/28 19:52:03 sobrado Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -85,8 +85,8 @@ usage(void)
{
extern char *__progname;
- fprintf(stderr, "usage: %s [-cdnv] ", __progname);
- fprintf(stderr, "[-D macro=value] [-f file] [-r path] [-s path]\n");
+ fprintf(stderr, "usage: %s [-cdnv] [-D macro=value] [-f file]\n",
+ __progname);
exit(1);
}