diff options
-rw-r--r-- | sbin/pfctl/pfctl.8 | 4 | ||||
-rw-r--r-- | sbin/pfctl/pfctl.c | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/sbin/pfctl/pfctl.8 b/sbin/pfctl/pfctl.8 index 29773069386..64c75890e98 100644 --- a/sbin/pfctl/pfctl.8 +++ b/sbin/pfctl/pfctl.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pfctl.8,v 1.22 2001/07/20 18:07:11 mpech Exp $ +.\" $OpenBSD: pfctl.8,v 1.23 2001/07/26 12:55:15 dhartmei Exp $ .\" .\" Copyright (c) 2001 Kjell Wooding. All rights reserved. .\" @@ -71,7 +71,7 @@ in the file .Pp The .Nm -utility provides several commands: +utility provides several commands. The options are as follows: .Bl -tag -width Ds .It Fl d 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); } |