diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2019-02-01 00:34:18 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2019-02-01 00:34:18 +0000 |
commit | 2e15db7bcd57af2130a939db29804e5751f25420 (patch) | |
tree | be7b3566f48d1e6c880ed8d45acff7a427132da4 | |
parent | 2790ca97d9f8b6c4e2b42b007fa7746ad187116a (diff) | |
download | src-2e15db7bcd57af2130a939db29804e5751f25420.tar.gz src-2e15db7bcd57af2130a939db29804e5751f25420.zip |
Hopefully fix compilation by other compilers.
Notes
Notes:
svn path=/head/; revision=343636
-rw-r--r-- | sbin/pfilctl/pfilctl.c | 3 |
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); } |