diff options
-rw-r--r-- | sbin/dmesg/dmesg.8 | 20 | ||||
-rw-r--r-- | sbin/dmesg/dmesg.c | 6 |
2 files changed, 13 insertions, 13 deletions
diff --git a/sbin/dmesg/dmesg.8 b/sbin/dmesg/dmesg.8 index b3648fc..af9da83 100644 --- a/sbin/dmesg/dmesg.8 +++ b/sbin/dmesg/dmesg.8 @@ -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 diff --git a/sbin/dmesg/dmesg.c b/sbin/dmesg/dmesg.c index cb7d532..c0166a9 100644 --- a/sbin/dmesg/dmesg.c +++ b/sbin/dmesg/dmesg.c @@ -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> |