aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsirand
diff options
context:
space:
mode:
authorGuido van Rooij <guido@FreeBSD.org>1997-03-26 19:07:54 +0000
committerGuido van Rooij <guido@FreeBSD.org>1997-03-26 19:07:54 +0000
commite2bb969ac3556694a0b0e658262068e8ec121ba3 (patch)
treee7321d9215055441e8d9de265c982bda47d4d821 /sbin/fsirand
parent36f763ab3c027dbf7b2c1116d7b95463f234437a (diff)
downloadsrc-e2bb969ac3556694a0b0e658262068e8ec121ba3.tar.gz
src-e2bb969ac3556694a0b0e658262068e8ec121ba3.zip
Get rid of __progname. I thought I already did that...
Notes
Notes: svn path=/head/; revision=24303
Diffstat (limited to 'sbin/fsirand')
-rw-r--r--sbin/fsirand/fsirand.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sbin/fsirand/fsirand.c b/sbin/fsirand/fsirand.c
index 640dd173cbd2..9da70b9f004a 100644
--- a/sbin/fsirand/fsirand.c
+++ b/sbin/fsirand/fsirand.c
@@ -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);
}