summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1998-05-18 06:50:17 +0000
committercharnier <charnier@FreeBSD.org>1998-05-18 06:50:17 +0000
commit50b030d998b91f966fc075e6f1ea84b00c3cc91c (patch)
treed3bc995057217e103b66c70c0fdab211fb783718
parent86bc037e711eb91a7613e3b6e3d960188a6543eb (diff)
downloadFreeBSD-src-50b030d998b91f966fc075e6f1ea84b00c3cc91c.zip
FreeBSD-src-50b030d998b91f966fc075e6f1ea84b00c3cc91c.tar.gz
Correct use of .Nm. Add section number to .Xr references. Add rcsid.
-rw-r--r--bin/sync/sync.810
-rw-r--r--bin/sync/sync.c8
2 files changed, 10 insertions, 8 deletions
diff --git a/bin/sync/sync.8 b/bin/sync/sync.8
index 5d0a8c8..198de51 100644
--- a/bin/sync/sync.8
+++ b/bin/sync/sync.8
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)sync.8 8.1 (Berkeley) 5/31/93
-.\" $Id$
+.\" $Id: sync.8,v 1.6 1997/02/22 14:06:06 peter Exp $
.\"
.Dd May 31, 1993
.Dt SYNC 8
@@ -48,14 +48,14 @@ processor is halted in a way not suitably done by
or
.Xr halt 8 .
Generally, it is preferable to use
-.Xr reboot
+.Xr reboot 8
or
-.Xr halt
+.Xr halt 8
to shut down the system,
as they may perform additional actions
such as resynchronizing the hardware clock
and flushing internal caches before performing a final
-.Nm sync .
+.Nm Ns .
.Pp
.Nm Sync
utilizes the
@@ -69,6 +69,6 @@ function call.
.Xr reboot 8
.Sh HISTORY
A
-.Nm sync
+.Nm
command appeared in
.At v6 .
diff --git a/bin/sync/sync.c b/bin/sync/sync.c
index 301215c..dbc3cde 100644
--- a/bin/sync/sync.c
+++ b/bin/sync/sync.c
@@ -29,8 +29,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id$
*/
#ifndef lint
@@ -40,7 +38,11 @@ static char const copyright[] =
#endif /* not lint */
#ifndef lint
-static char const sccsid[] = "@(#)sync.c 8.1 (Berkeley) 5/31/93";
+#if 0
+static char sccsid[] = "@(#)sync.c 8.1 (Berkeley) 5/31/93";
+#endif
+static const char rcsid[] =
+ "$Id$";
#endif /* not lint */
#include <unistd.h>
OpenPOWER on IntegriCloud