aboutsummaryrefslogtreecommitdiff
path: root/bin/sync
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>1998-05-18 06:50:17 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>1998-05-18 06:50:17 +0000
commit44dc619ed6cb22c1acdc02e83180f51bb986cd5b (patch)
tree241b3836253486e8d10bff5f7a5994c59567c857 /bin/sync
parent3d7b5b9302e5c79bc5dffd599d6d17dcd9592b76 (diff)
downloadsrc-44dc619ed6cb22c1acdc02e83180f51bb986cd5b.tar.gz
src-44dc619ed6cb22c1acdc02e83180f51bb986cd5b.zip
Correct use of .Nm. Add section number to .Xr references. Add rcsid.
Notes
Notes: svn path=/head/; revision=36151
Diffstat (limited to 'bin/sync')
-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 5d0a8c879211..198de51d8ac4 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 301215cefb0d..dbc3cdea876a 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>