From 5cfc21982c7428b1a96901cd5f74a59832f8bb94 Mon Sep 17 00:00:00 2001 From: charnier Date: Wed, 11 Jun 1997 07:18:18 +0000 Subject: Add Id. Staticize usage function. Typo in usage string. --- sbin/fsirand/fsirand.8 | 1 + 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 #include -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); } -- cgit v1.1