summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/ksh/c_sh.c4
-rw-r--r--bin/ksh/ksh.16
-rw-r--r--sbin/mknod/mknod.86
-rw-r--r--sbin/mknod/mknod.c4
4 files changed, 10 insertions, 10 deletions
diff --git a/bin/ksh/c_sh.c b/bin/ksh/c_sh.c
index be6b0f4da24..11090a96493 100644
--- a/bin/ksh/c_sh.c
+++ b/bin/ksh/c_sh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: c_sh.c,v 1.40 2009/05/05 17:59:55 millert Exp $ */
+/* $OpenBSD: c_sh.c,v 1.41 2010/03/27 09:10:01 jmc Exp $ */
/*
* built-in Bourne commands
@@ -881,7 +881,7 @@ c_mknod(char **wp)
return ret;
usage:
builtin_argv0 = NULL;
- bi_errorf("usage: mknod [-m mode] name [b | c] major minor");
+ bi_errorf("usage: mknod [-m mode] name b|c major minor");
bi_errorf("usage: mknod [-m mode] name p");
return 1;
}
diff --git a/bin/ksh/ksh.1 b/bin/ksh/ksh.1
index 7a1f4b37a27..e4621076e20 100644
--- a/bin/ksh/ksh.1
+++ b/bin/ksh/ksh.1
@@ -1,8 +1,8 @@
-.\" $OpenBSD: ksh.1,v 1.131 2010/02/26 03:32:39 william Exp $
+.\" $OpenBSD: ksh.1,v 1.132 2010/03/27 09:10:01 jmc Exp $
.\"
.\" Public Domain
.\"
-.Dd $Mdocdate: February 26 2010 $
+.Dd $Mdocdate: March 27 2010 $
.Dt KSH 1
.Os
.Sh NAME
@@ -3331,7 +3331,7 @@ is syntactic sugar for
.Ic mknod
.Op Fl m Ar mode
.Ar name
-.Op Cm b | Cm c
+.Cm b\*(Bac
.Ar major minor
.Xc
.It Xo
diff --git a/sbin/mknod/mknod.8 b/sbin/mknod/mknod.8
index 66c9ce64d33..3f1c36fb6c8 100644
--- a/sbin/mknod/mknod.8
+++ b/sbin/mknod/mknod.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mknod.8,v 1.17 2009/03/21 18:07:41 sobrado Exp $
+.\" $OpenBSD: mknod.8,v 1.18 2010/03/27 09:10:02 jmc Exp $
.\" $NetBSD: mknod.8,v 1.9 1995/08/10 23:47:32 jtc Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)mknod.8 8.2 (Berkeley) 12/11/93
.\"
-.Dd $Mdocdate: March 21 2009 $
+.Dd $Mdocdate: March 27 2010 $
.Dt MKNOD 8
.Os
.Sh NAME
@@ -40,7 +40,7 @@
.Nm mknod
.Op Fl m Ar mode
.Ar name
-.Op Cm b \*(Ba c
+.Cm b\*(Bac
.Ar major minor
.Nm mknod
.Op Fl m Ar mode
diff --git a/sbin/mknod/mknod.c b/sbin/mknod/mknod.c
index 3e254114a4a..491bed5a73b 100644
--- a/sbin/mknod/mknod.c
+++ b/sbin/mknod/mknod.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mknod.c,v 1.17 2009/10/27 23:59:33 deraadt Exp $ */
+/* $OpenBSD: mknod.c,v 1.18 2010/03/27 09:10:02 jmc Exp $ */
/* $NetBSD: mknod.c,v 1.8 1995/08/11 00:08:18 jtc Exp $ */
/*
@@ -175,7 +175,7 @@ usage(int ismkfifo)
__progname);
else {
(void)fprintf(stderr,
- "usage: %s [-m mode] name [b | c] major minor\n",
+ "usage: %s [-m mode] name b|c major minor\n",
__progname);
(void)fprintf(stderr, " %s [-m mode] name p\n",
__progname);