From ca64f95092d3eabab2239829a5f9e4fa70af3afd Mon Sep 17 00:00:00 2001 From: Steve Price Date: Sat, 14 Dec 1996 06:04:06 +0000 Subject: [PATCH] Cleanup man page and -Wall cleaning. --- bin/mkdir/mkdir.1 | 6 +++--- bin/mkdir/mkdir.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/mkdir/mkdir.1 b/bin/mkdir/mkdir.1 index 50cc3ef9017b..23a8ef4485e4 100644 --- a/bin/mkdir/mkdir.1 +++ b/bin/mkdir/mkdir.1 @@ -33,7 +33,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)mkdir.1 8.2 (Berkeley) 1/25/94 -.\" $Id: mkdir.1,v 1.2 1994/09/24 02:56:02 davidg Exp $ +.\" $Id: mkdir.1,v 1.3 1996/08/29 18:06:01 wosch Exp $ .\" .Dd January 25, 1994 .Dt MKDIR 1 @@ -47,7 +47,7 @@ .Op Fl m Ar mode .Ar directory_name ... .Sh DESCRIPTION -.Nm Mkdir +.Nm creates the directories named as operands, in the order specified, using mode .Li rwxrwxrwx (\&0777) @@ -81,7 +81,7 @@ permission for the owner. .Pp The user must have write permission in the parent directory. .Pp -.Nm Mkdir +.Nm exits 0 if successful, and >0 if an error occurred. .Sh SEE ALSO .Xr rmdir 1 diff --git a/bin/mkdir/mkdir.c b/bin/mkdir/mkdir.c index d5fe7e516649..a94c6f2180f6 100644 --- a/bin/mkdir/mkdir.c +++ b/bin/mkdir/mkdir.c @@ -30,17 +30,17 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: mkdir.c,v 1.5 1994/09/24 02:56:03 davidg Exp $ */ #ifndef lint -static char copyright[] = +static char const copyright[] = "@(#) Copyright (c) 1983, 1992, 1993\n\ The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ #ifndef lint -static char sccsid[] = "@(#)mkdir.c 8.2 (Berkeley) 1/25/94"; +static char const sccsid[] = "@(#)mkdir.c 8.2 (Berkeley) 1/25/94"; #endif /* not lint */ #include