aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsirand/fsirand.c
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>1997-06-11 07:18:18 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>1997-06-11 07:18:18 +0000
commitc9ea311a268aea41f5f2b77459d7bd5a2eb2778a (patch)
tree613f3537a3676973abfbf1e81cf197389776b437 /sbin/fsirand/fsirand.c
parent617f1bc8c69684ebd16f2d820debeb91817f8883 (diff)
downloadsrc-c9ea311a268aea41f5f2b77459d7bd5a2eb2778a.tar.gz
src-c9ea311a268aea41f5f2b77459d7bd5a2eb2778a.zip
Add Id. Staticize usage function. Typo in usage string.
Notes
Notes: svn path=/head/; revision=26558
Diffstat (limited to 'sbin/fsirand/fsirand.c')
-rw-r--r--sbin/fsirand/fsirand.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/fsirand/fsirand.c b/sbin/fsirand/fsirand.c
index 9da70b9f004a..547e3a4ccd95 100644
--- a/sbin/fsirand/fsirand.c
+++ b/sbin/fsirand/fsirand.c
@@ -53,7 +53,7 @@ static char rcsid[] = "$OpenBSD: fsirand.c,v 1.9 1997/02/28 00:46:33 millert Exp
#include <time.h>
#include <unistd.h>
-void usage __P((int));
+static void usage __P((int));
int fsirand __P((char *));
int printonly = 0, force = 0, ignorelabel = 0;
@@ -284,11 +284,11 @@ fsirand(device)
return(0);
}
-void
+static void
usage(ex)
int ex;
{
(void)fprintf(stderr,
-"Usage: fsirand [ -b ] [ -f ] [ -p ] special [special ...]\n");
+"usage: fsirand [ -b ] [ -f ] [ -p ] special [special ...]\n");
exit(ex);
}