Use getprogname() instead of referencing __progname.
This commit is contained in:
parent
3e00d0029a
commit
e37dfd03ba
@ -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…
x
Reference in New Issue
Block a user