Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 May 1999 22:13:45 -0400 (EDT)
From:      dgilbert@velocet.ca
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/11856: ps(1) man page incorrectly references vadvise(2)
Message-ID:  <199905230213.WAA00648@strike.velocet.ca>

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

>Number:         11856
>Category:       docs
>Synopsis:       references to vadvise(2) should probably be madvise(2)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 22 19:20:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     David Gilbert
>Release:        FreeBSD 3.1-RELEASE i386
>Organization:
Velocet Communications
>Environment:

	FreeBSD 3.1-RELEASE

>Description:

	ps(1) man page references vadvise(2) multiple times.  It would
appear that this reference should be madvise(2) --- there is no
vadvise(2) man page.

>How-To-Repeat:

	man ps --- then search for vadvise

>Fix:
	
*** ps.1	Sat May 22 22:12:47 1999
--- ps.1.old	Sat May 22 22:12:26 1999
***************
*** 273,279 ****
  the process has asked for random page replacement
  .Pf ( Dv VA_ANOM ,
  from
! .Xr madvise 2 ,
  for example,
  .Xr lisp 1
  in a garbage collect).
--- 273,279 ----
  the process has asked for random page replacement
  .Pf ( Dv VA_ANOM ,
  from
! .Xr vadvise 2 ,
  for example,
  .Xr lisp 1
  in a garbage collect).
***************
*** 293,299 ****
  page replacement
  .Pf ( Dv VA_SEQL ,
  from
! .Xr madvise 2 ,
  for example, a large image processing program using virtual memory to
  sequentially address voluminous data).
  .It s
--- 293,299 ----
  page replacement
  .Pf ( Dv VA_SEQL ,
  from
! .Xr vadvise 2 ,
  for example, a large image processing program using virtual memory to
  sequentially address voluminous data).
  .It s


>Release-Note:
>Audit-Trail:
>Unformatted:


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




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