diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2010-03-27 09:10:03 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2010-03-27 09:10:03 +0000 |
commit | 821f159074057dfb947f342105bdc42ba580c1c7 (patch) | |
tree | 9336f53b9b9167f50764ce8899caba8cbaca87c2 /sbin/mknod | |
parent | 13b6163d93addd75b7f6f45adc25853cf9e7f766 (diff) |
`b' and `c' arguments to mknod are not optional; from LEVAI Daniel
c_sh.c part from sobrado;
ok millert guenther
Diffstat (limited to 'sbin/mknod')
-rw-r--r-- | sbin/mknod/mknod.8 | 6 | ||||
-rw-r--r-- | sbin/mknod/mknod.c | 4 |
2 files changed, 5 insertions, 5 deletions
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); |