Use .Pa for filenames. Use .Bl/.El in FILES section. Remove unused #includes.

This commit is contained in:
Philippe Charnier 1998-06-04 06:51:14 +00:00
parent ae33d52efb
commit 970cd28246
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=36634
2 changed files with 13 additions and 13 deletions

View File

@ -10,7 +10,7 @@
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\" must display the following acknowledgement:
.\" must display the following acknowledgment:
.\" This product includes software developed by the University of
.\" California, Berkeley and its contributors.
.\" 4. Neither the name of the University nor the names of its contributors
@ -30,6 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)dmesg.8 8.1 (Berkeley) 6/5/93
.\" $Id$
.\"
.Dd June 5, 1993
.Dt DMESG 8
@ -46,21 +47,24 @@
displays the contents of the system message buffer.
.Pp
The options are as follows:
.Bl -tag -width Ds
.Bl -tag -width indent
.It Fl M
Extract values associated with the name list from the specified core
instead of the default ``/dev/kmem''.
instead of the default
.Pa /dev/kmem .
.It Fl N
Extract the name list from the specified system instead of the default
``/kernel''.
.Pa /kernel .
.El
.Sh SEE ALSO
.Xr syslogd 8
.Sh FILES
/dev/mem
/dev/kmem
/dev/drum
/kernel
.Bl -tag -width /etc/kmem -compact
.It Pa /dev/mem
.It Pa /dev/kmem
.It Pa /dev/drum
.It Pa /kernel
.El
.Sh HISTORY
The
.Nm

View File

@ -42,21 +42,17 @@ static const char copyright[] =
static const char sccsid[] = "@(#)dmesg.c 8.1 (Berkeley) 6/5/93";
#endif
static const char rcsid[] =
"$Id: dmesg.c,v 1.7 1997/03/29 03:32:14 imp Exp $";
"$Id: dmesg.c,v 1.8 1998/05/19 08:58:53 phk Exp $";
#endif /* not lint */
#include <sys/cdefs.h>
#include <sys/msgbuf.h>
#include <err.h>
#include <fcntl.h>
#include <kvm.h>
#include <limits.h>
#include <locale.h>
#include <nlist.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h>
#include <vis.h>