summaryrefslogtreecommitdiffstats
path: root/sbin/mount_std
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1998-07-15 06:08:47 +0000
committercharnier <charnier@FreeBSD.org>1998-07-15 06:08:47 +0000
commitab2debff1bd73dae58bc0ecf7bee4237a683082e (patch)
treeda8da1cbbb948cbfc27e4de5bf52969fe66869ae /sbin/mount_std
parent99afdcef51240ef47cc3fe2d137f0142c2f3899f (diff)
downloadFreeBSD-src-ab2debff1bd73dae58bc0ecf7bee4237a683082e.zip
FreeBSD-src-ab2debff1bd73dae58bc0ecf7bee4237a683082e.tar.gz
Correct use of .Nm. Remove unused #includes.
Diffstat (limited to 'sbin/mount_std')
-rw-r--r--sbin/mount_std/mount_std.89
-rw-r--r--sbin/mount_std/mount_std.c5
2 files changed, 6 insertions, 8 deletions
diff --git a/sbin/mount_std/mount_std.8 b/sbin/mount_std/mount_std.8
index 3c5e081..a495ba3 100644
--- a/sbin/mount_std/mount_std.8
+++ b/sbin/mount_std/mount_std.8
@@ -34,7 +34,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: mount_std.8,v 1.7 1997/02/22 14:32:59 peter Exp $
.\"
.Dd May 13, 1996
.Dt MOUNT_STD 8
@@ -126,12 +126,11 @@ and
.Sh DIAGNOSTICS
.Bl -diag
.It argv[0] must end in _fsname
-The
-.Nm mount_std
-command was called with a zero'th argument of
+.Nm Mount_std
+was called with a zeroth argument of
.Dq Li mount_std .
.It vfsload(%s)
-.Nm
+.Nm Mount_std
was unable to load a kernel module implementing the %s filesystem
type.
.It %s filesystem not available
diff --git a/sbin/mount_std/mount_std.c b/sbin/mount_std/mount_std.c
index e85f4b3..f9ae7d6 100644
--- a/sbin/mount_std/mount_std.c
+++ b/sbin/mount_std/mount_std.c
@@ -36,14 +36,14 @@
*/
#ifndef lint
-char copyright[] =
+static const char copyright[] =
"@(#) Copyright (c) 1992, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
static const char rcsid[] =
- "$Id: mount_std.c,v 1.6 1997/03/11 12:38:16 peter Exp $";
+ "$Id: mount_std.c,v 1.7 1997/03/29 03:32:46 imp Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -51,7 +51,6 @@ static const char rcsid[] =
#include <err.h>
#include <stdio.h>
-#include <stdlib.h>
#include <string.h>
#include <sysexits.h>
#include <unistd.h>
OpenPOWER on IntegriCloud