svn commit: r343636 - head/sbin/pfilctl

Gleb Smirnoff glebius at FreeBSD.org
Fri Feb 1 00:34:19 UTC 2019


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);
 }
 


More information about the svn-src-all mailing list