aboutsummaryrefslogtreecommitdiff
path: root/sbin/pfilctl/pfilctl.c
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2019-02-01 00:34:18 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2019-02-01 00:34:18 +0000
commit2e15db7bcd57af2130a939db29804e5751f25420 (patch)
treebe7b3566f48d1e6c880ed8d45acff7a427132da4 /sbin/pfilctl/pfilctl.c
parent2790ca97d9f8b6c4e2b42b007fa7746ad187116a (diff)
downloadsrc-2e15db7bcd57af2130a939db29804e5751f25420.tar.gz
src-2e15db7bcd57af2130a939db29804e5751f25420.zip
Hopefully fix compilation by other compilers.
Notes
Notes: svn path=/head/; revision=343636
Diffstat (limited to 'sbin/pfilctl/pfilctl.c')
-rw-r--r--sbin/pfilctl/pfilctl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/pfilctl/pfilctl.c b/sbin/pfilctl/pfilctl.c
index 363feabca116..e360c73cb279 100644
--- a/sbin/pfilctl/pfilctl.c
+++ b/sbin/pfilctl/pfilctl.c
@@ -94,9 +94,8 @@ main(int argc __unused, char *argv[] __unused)
static void
help(void)
{
- extern char *__progname;
- fprintf(stderr, "usage: %s (heads|hooks|link|unlink)\n", __progname);
+ fprintf(stderr, "usage: %s (heads|hooks|link|unlink)\n", getprogname());
exit(0);
}