summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.bootparamd
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>2003-07-21 19:54:47 +0000
committermickey <mickey@openbsd.org>2003-07-21 19:54:47 +0000
commitf6073c030d7ca238977470ad8f0913cdbd7b0edb (patch)
tree58cb6bdbec76ed92d1baee9bb325d715aaffd971 /usr.sbin/rpc.bootparamd
parentprotos (diff)
downloadwireguard-openbsd-f6073c030d7ca238977470ad8f0913cdbd7b0edb.tar.xz
wireguard-openbsd-f6073c030d7ca238977470ad8f0913cdbd7b0edb.zip
use __progname
Diffstat (limited to 'usr.sbin/rpc.bootparamd')
-rw-r--r--usr.sbin/rpc.bootparamd/bootparamd.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/rpc.bootparamd/bootparamd.c b/usr.sbin/rpc.bootparamd/bootparamd.c
index a5606fbaafc..c2e4e18029f 100644
--- a/usr.sbin/rpc.bootparamd/bootparamd.c
+++ b/usr.sbin/rpc.bootparamd/bootparamd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bootparamd.c,v 1.15 2003/07/06 21:34:03 deraadt Exp $ */
+/* $OpenBSD: bootparamd.c,v 1.16 2003/07/21 19:54:47 mickey Exp $ */
/*
* This code is not copyright, and is placed in the public domain.
@@ -57,8 +57,9 @@ extern int optind;
static void
usage(void)
{
- fprintf(stderr,
- "usage: rpc.bootparamd [-d] [-s] [-r router] [-f bootparmsfile]\n");
+ extern char *__progname;
+ fprintf(stderr, "usage: %s [-d] [-s] [-r router] [-f bootparmsfile]\n",
+ __progname);
exit(1);
}