diff options
author | charnier <charnier@FreeBSD.org> | 1997-06-11 07:18:18 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 1997-06-11 07:18:18 +0000 |
commit | 5cfc21982c7428b1a96901cd5f74a59832f8bb94 (patch) | |
tree | bffe22bd3a76ce47d7454ef63a49f11506706d33 /sbin/fsirand | |
parent | 128554a0bd59c6c97e53c6cec3cc4d3baa223fcd (diff) | |
download | FreeBSD-src-5cfc21982c7428b1a96901cd5f74a59832f8bb94.zip FreeBSD-src-5cfc21982c7428b1a96901cd5f74a59832f8bb94.tar.gz |
Add Id. Staticize usage function. Typo in usage string.
Diffstat (limited to 'sbin/fsirand')
-rw-r--r-- | sbin/fsirand/fsirand.8 | 1 | ||||
-rw-r--r-- | sbin/fsirand/fsirand.c | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sbin/fsirand/fsirand.8 b/sbin/fsirand/fsirand.8 index e6b0059..0af2168 100644 --- a/sbin/fsirand/fsirand.8 +++ b/sbin/fsirand/fsirand.8 @@ -27,6 +27,7 @@ .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" .\" $OpenBSD: fsirand.8,v 1.6 1997/02/23 03:58:26 millert Exp $ +.\" $Id$ .\" .Dd January 25, 1997 .Dt FSIRAND 8 diff --git a/sbin/fsirand/fsirand.c b/sbin/fsirand/fsirand.c index 9da70b9..547e3a4 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); } |