summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2006-12-15 13:04:06 +0000
committerjmc <jmc@openbsd.org>2006-12-15 13:04:06 +0000
commiteec2f83357667ef9af6840b8fc3e35fffb280c28 (patch)
tree3d94ea18ca2f4c51236bf46a8299c84b4676e14c
parentsync usage(); (diff)
downloadwireguard-openbsd-eec2f83357667ef9af6840b8fc3e35fffb280c28.tar.xz
wireguard-openbsd-eec2f83357667ef9af6840b8fc3e35fffb280c28.zip
use "special" and "node" for synopsis/usage() here too;
-rw-r--r--sbin/mount_xfs/mount_xfs.811
-rw-r--r--sbin/mount_xfs/mount_xfs.c4
2 files changed, 9 insertions, 6 deletions
diff --git a/sbin/mount_xfs/mount_xfs.8 b/sbin/mount_xfs/mount_xfs.8
index 6fcc0a51d90..034cbf4a6ae 100644
--- a/sbin/mount_xfs/mount_xfs.8
+++ b/sbin/mount_xfs/mount_xfs.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mount_xfs.8,v 1.18 2004/09/15 23:03:16 jmc Exp $
+.\" $OpenBSD: mount_xfs.8,v 1.19 2006/12/15 13:04:06 jmc Exp $
.\" $NetBSD: mount_null.8,v 1.4 1996/04/10 20:57:19 thorpej Exp $
.\"
.\" Copyright (c) 1995, 1996, 1997, 1998 Kungliga Tekniska Högskolan
@@ -46,12 +46,15 @@
.Sh SYNOPSIS
.Nm mount_xfs
.Op Fl o Ar options
-.Ar char-device
-.Ar mount-point
+.Ar special
+.Ar node
.Sh DESCRIPTION
The
.Nm
-command mounts one of the xfs character devices.
+command mounts one of the xfs character devices,
+.Ar special ,
+on mount point
+.Ar node .
The character device is used
for communication with a user-land cache manager and file provider.
.Pp
diff --git a/sbin/mount_xfs/mount_xfs.c b/sbin/mount_xfs/mount_xfs.c
index fba1b8481e0..b0915dbc9ca 100644
--- a/sbin/mount_xfs/mount_xfs.c
+++ b/sbin/mount_xfs/mount_xfs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mount_xfs.c,v 1.8 2005/04/08 20:09:38 jaredy Exp $ */
+/* $OpenBSD: mount_xfs.c,v 1.9 2006/12/15 13:04:06 jmc Exp $ */
/*
* Copyright (c) 1995, 1996, 1997 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
@@ -62,7 +62,7 @@ static const struct mntopt mopts[] = {
static void
usage(void)
{
- fprintf(stderr, "Usage: %s [-o options] device path\n",
+ fprintf(stderr, "usage: %s [-o options] special node\n",
__progname);
exit(1);
}