summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorguido <guido@FreeBSD.org>1997-03-26 19:07:54 +0000
committerguido <guido@FreeBSD.org>1997-03-26 19:07:54 +0000
commit4763d0a981bd8d28c404b0aeb66981ace38f273e (patch)
tree8793c1f072f0a094ab8139a5e867e5febcd0243a /sbin
parent4c9cebcc5129530d80fc87d2a837917d05f6e18a (diff)
downloadFreeBSD-src-4763d0a981bd8d28c404b0aeb66981ace38f273e.zip
FreeBSD-src-4763d0a981bd8d28c404b0aeb66981ace38f273e.tar.gz
Get rid of __progname. I thought I already did that...
Diffstat (limited to 'sbin')
-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 640dd17..9da70b9 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);
}
OpenPOWER on IntegriCloud