diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-07-21 19:54:48 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-07-21 19:54:48 +0000 |
commit | 92a751321b79e1d84beaf7863deb4731d7a68f06 (patch) | |
tree | efb30c0f803e962142cd216f2d8d2af71002b86a /usr.sbin | |
parent | fa31707c92c0bddda0bca3ff7af593198173794d (diff) |
use __progname
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/rpc.bootparamd/bootparamd.c | 7 |
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); } |