Author: glebius
Date: Fri Feb 1 00:34:18 2019
New Revision: 343636
URL: https://svnweb.freebsd.org/changeset/base/343636
Log:
Hopefully fix compilation by other compilers.
Modified:
head/sbin/pfilctl/pfilctl.c
Modified: head/sbin/pfilctl/pfilctl.c
==============================================================================
--- head/sbin/pfilctl/pfilctl.c Fri Feb 1 00:33:17 2019 (r343635)
+++ head/sbin/pfilctl/pfilctl.c Fri Feb 1 00:34:18 2019 (r343636)
@@ -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);
}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"