diff options
author | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2001-07-26 12:55:16 +0000 |
---|---|---|
committer | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2001-07-26 12:55:16 +0000 |
commit | 1c4e5f6cfeea3916415b68b04385906a115162a2 (patch) | |
tree | 7bfe617be7e5c239c4e57650df60c9a0a75f6cf2 /sbin/pfctl/pfctl.c | |
parent | 18c0d13f42e79b4d3e7db8c3e4672d49a3fe86f7 (diff) |
usage() with __progname according to style(9), typo in man page. both from mpech@.
Diffstat (limited to 'sbin/pfctl/pfctl.c')
-rw-r--r-- | sbin/pfctl/pfctl.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c index 47ebdefa852..3787d2d6c76 100644 --- a/sbin/pfctl/pfctl.c +++ b/sbin/pfctl/pfctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl.c,v 1.29 2001/07/17 17:39:09 marc Exp $ */ +/* $OpenBSD: pfctl.c,v 1.30 2001/07/26 12:55:15 dhartmei Exp $ */ /* * Copyright (c) 2001, Daniel Hartmeier @@ -78,7 +78,10 @@ char *showopt; void usage() { - fprintf(stderr, "usage: pfctl [-dehnqv] [-F set] [-l interface] "); + extern char *__progname; + + fprintf(stderr, "usage: %s [-dehnqv] [-F set] [-l interface] ", + __progname); fprintf(stderr, "[-N file] [-R file] [-s set]\n"); exit(1); } |