From 2e15db7bcd57af2130a939db29804e5751f25420 Mon Sep 17 00:00:00 2001 From: Gleb Smirnoff Date: Fri, 1 Feb 2019 00:34:18 +0000 Subject: [PATCH] Hopefully fix compilation by other compilers. --- sbin/pfilctl/pfilctl.c | 3 +-- 1 file changed, 1 insertion(+), 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); }