* cleanup for WARNS+1

* use .Nm correctly
This commit is contained in:
lukem 1997-09-15 03:46:27 +00:00
parent 241ba6ead1
commit beb3ef1e7e
2 changed files with 11 additions and 10 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: mknod.8,v 1.10 1997/06/30 17:17:56 phil Exp $
.\" $NetBSD: mknod.8,v 1.11 1997/09/15 03:46:27 lukem Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -40,18 +40,18 @@
.Nm mknod
.Nd build special file
.Sh SYNOPSIS
.Nm mknod
.Nm
.Ar name
.Op Cm c | Cm b
.Ar major minor
.Sh DESCRIPTION
The
.Nm mknod
.Nm
command creates device special files.
Normally the shell script
.Pa /dev/MAKEDEV
is used to create special files for commonly known devices; it executes
.Nm mknod
.Nm
with the appropriate arguments and can make all the files required for the
device.
.Pp

View File

@ -1,4 +1,4 @@
/* $NetBSD: mknod.c,v 1.8 1995/08/11 00:08:18 jtc Exp $ */
/* $NetBSD: mknod.c,v 1.9 1997/09/15 03:46:31 lukem Exp $ */
/*
* Copyright (c) 1989, 1993
@ -36,17 +36,17 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#ifndef lint
static char copyright[] =
"@(#) Copyright (c) 1989, 1993\n\
The Regents of the University of California. All rights reserved.\n";
__COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\
The Regents of the University of California. All rights reserved.\n");
#endif /* not lint */
#ifndef lint
#if 0
static char sccsid[] = "@(#)mknod.c 8.1 (Berkeley) 6/5/93";
#else
static char rcsid[] = "$NetBSD: mknod.c,v 1.8 1995/08/11 00:08:18 jtc Exp $";
__RCSID("$NetBSD: mknod.c,v 1.9 1997/09/15 03:46:31 lukem Exp $");
#endif
#endif /* not lint */
@ -57,7 +57,8 @@ static char rcsid[] = "$NetBSD: mknod.c,v 1.8 1995/08/11 00:08:18 jtc Exp $";
#include <unistd.h>
#include <err.h>
static void usage();
int main __P((int, char *[]));
static void usage __P((void));
int
main(argc, argv)