summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/fsirand/fsirand.81
-rw-r--r--sbin/fsirand/fsirand.c6
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);
}
OpenPOWER on IntegriCloud