From f9b52c93a5d46871aa1569221afc005225cfd399 Mon Sep 17 00:00:00 2001 From: Philippe Charnier Date: Tue, 28 Jul 1998 06:38:57 +0000 Subject: [PATCH] Correct use of .Nm, add rcsid, remove unused #include. --- sbin/savecore/savecore.8 | 20 ++++++++++---------- sbin/savecore/savecore.c | 7 +++++-- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/sbin/savecore/savecore.8 b/sbin/savecore/savecore.8 index 216cd7f0e73a..a2c717c5994e 100644 --- a/sbin/savecore/savecore.8 +++ b/sbin/savecore/savecore.8 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" From: @(#)savecore.8 8.1 (Berkeley) 6/5/93 -.\" $Id$ +.\" $Id: savecore.8,v 1.6 1997/02/22 14:33:14 peter Exp $ .\" .Dd September 23, 1994 .Dt SAVECORE 8 @@ -53,13 +53,13 @@ and enters a reboot message and information about the core dump into the system log. .Pp The options are as follows: -.Bl -tag -width directory +.Bl -tag -width indent .It Fl c -Clears the dump, so that future invocations of -.Nm savecore +Clear the dump, so that future invocations of +.Nm will ignore it. .It Fl f -Forces a dump to be taken even if the dump doesn't appear correct or there +Force a dump to be taken even if the dump doesn't appear correct or there is insufficient disk space. .It Fl N Use @@ -67,9 +67,9 @@ Use as the kernel instead of the running kernel (as determined from .Xr getbootfile 3 ). .It Fl v -Prints out some additional debugging information. +Print out some additional debugging information. .It Fl z -Compresses the core dump and kernel (see +Compress the core dump and kernel (see .Xr compress 1 ). .El .Pp @@ -83,7 +83,7 @@ and the system in The ``#'' is the number from the first line of the file .Ar directory Ns Pa /bounds , and it is incremented and stored back into the file each time -.Nm savecore +.Nm successfully runs. .Pp .Nm Savecore @@ -97,10 +97,10 @@ filesystem after the copies were made would be less than the number in the first line of this file, the copies are not attempted. .Pp If -.Nm savecore +.Nm successfully copies the kernel and the core dump, the core dump is cleared so that future invocations of -.Nm savecore +.Nm will ignore it. .Pp .Nm Savecore diff --git a/sbin/savecore/savecore.c b/sbin/savecore/savecore.c index d90a9a794368..d6e4591ff04c 100644 --- a/sbin/savecore/savecore.c +++ b/sbin/savecore/savecore.c @@ -32,20 +32,23 @@ */ #ifndef lint -static char copyright[] = +static const char copyright[] = "@(#) Copyright (c) 1986, 1992, 1993\n\ The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ #ifndef lint +#if 0 static char sccsid[] = "@(#)savecore.c 8.3 (Berkeley) 1/2/94"; +#endif +static const char rcsid[] = + "$Id$"; #endif /* not lint */ #include #include #include #include -#include #include #include