Date: Fri, 1 Feb 2019 00:34:18 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r343636 - head/sbin/pfilctl Message-ID: <201902010034.x110YIqU047081@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902010034.x110YIqU047081>