Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 1998 21:11:40 -0800 (PST)
From:      jason_smethers@bigfoot.com
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   bin/5716: /bin/sync code and man page cleanup
Message-ID:  <199802110511.VAA21381@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         5716
>Category:       bin
>Synopsis:       /bin/sync code and man page cleanup
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 10 21:20:04 PST 1998
>Last-Modified:
>Originator:     Jason Smethers
>Organization:
>Release:        3.0-Current
>Environment:
FreeBSD p90unix.vipersystems.com 3.0-CURRENT FreeBSD 3.0-CURRENT #1: Sun Feb  8 17:26:35 CST 1998     root@p90unix.vipersystems.com:/usr/src/sys/compile/P90UNIX  i386
>Description:
Gerneral code and man page cleanup
>How-To-Repeat:

>Fix:
diff -c -r /usr/src/bin/sync/sync.8 /usr/local/src/bin/sync/sync.8
*** /usr/src/bin/sync/sync.8	Sat Feb 22 08:06:06 1997
--- /usr/local/src/bin/sync/sync.8	Mon Feb  9 20:33:59 1998
***************
*** 48,56 ****
  or
  .Xr halt 8 .
  Generally, it is preferable to use
! .Xr reboot
  or
! .Xr halt
  to shut down the system,
  as they may perform additional actions
  such as resynchronizing the hardware clock
--- 48,56 ----
  or
  .Xr halt 8 .
  Generally, it is preferable to use
! .Xr reboot 8
  or
! .Xr halt 8
  to shut down the system,
  as they may perform additional actions
  such as resynchronizing the hardware clock
diff -c -r /usr/src/bin/sync/sync.c /usr/local/src/bin/sync/sync.c
*** /usr/src/bin/sync/sync.c	Sat Feb 22 08:06:12 1997
--- /usr/local/src/bin/sync/sync.c	Mon Feb  9 20:31:38 1998
***************
*** 45,52 ****
  
  #include <unistd.h>
  
  int
! main()
  {
  	sync();
  	exit(0);
--- 45,56 ----
  
  #include <unistd.h>
  
+ int main __P((int, char *[]));
+ 
  int
! main(argc, argv)
! 	int argc;
! 	char *argv[];
  {
  	sync();
  	exit(0);

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802110511.VAA21381>