mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
Get rid of __progname. I thought I already did that...
This commit is contained in:
parent
36f763ab3c
commit
e2bb969ac3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24303
1 changed files with 2 additions and 4 deletions
|
@ -56,8 +56,6 @@ static char rcsid[] = "$OpenBSD: fsirand.c,v 1.9 1997/02/28 00:46:33 millert Exp
|
|||
void usage __P((int));
|
||||
int fsirand __P((char *));
|
||||
|
||||
extern char *__progname;
|
||||
|
||||
int printonly = 0, force = 0, ignorelabel = 0;
|
||||
|
||||
int
|
||||
|
@ -290,7 +288,7 @@ void
|
|||
usage(ex)
|
||||
int ex;
|
||||
{
|
||||
(void)fprintf(stderr, "Usage: %s [ -b ] [ -f ] [ -p ] special [special ...]\n",
|
||||
__progname);
|
||||
(void)fprintf(stderr,
|
||||
"Usage: fsirand [ -b ] [ -f ] [ -p ] special [special ...]\n");
|
||||
exit(ex);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue