Use getprogname() instead of referencing __progname.
This commit is contained in:
parent
689f1cbba5
commit
1946089b52
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=194789
@ -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 New Issue
Block a user