mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Use getprogname() instead of referencing __progname.
This commit is contained in:
parent
689f1cbba5
commit
1946089b52
1 changed files with 2 additions and 3 deletions
|
|
@ -91,16 +91,15 @@ prbits(int bits, char **strs, int n)
|
|||
void
|
||||
usage(void)
|
||||
{
|
||||
extern char *__progname;
|
||||
|
||||
fprintf(stderr,
|
||||
"usage: %s -f device "
|
||||
"[-l] [-n] [-r] [-t tablefile] [-v] [-x] name ...\n",
|
||||
__progname);
|
||||
getprogname());
|
||||
fprintf(stderr,
|
||||
" %s -f device "
|
||||
"[-l] [-n] [-r] [-t tablefile] [-v] [-x] -a\n",
|
||||
__progname);
|
||||
getprogname());
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue