From dwmalone@maths.tcd.ie Sun Nov  7 04:00:20 1999
Return-Path: <dwmalone@maths.tcd.ie>
Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11])
	by hub.freebsd.org (Postfix) with SMTP id BA12514C02
	for <freebsd-gnats-submit@freebsd.org>; Sun,  7 Nov 1999 04:00:18 -0800 (PST)
	(envelope-from dwmalone@maths.tcd.ie)
Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP
          id <aa36923@salmon>; 7 Nov 1999 12:00:18 +0000 (GMT)
Message-Id: <199911071200.aa15584@walton.maths.tcd.ie>
Date: Sun, 7 Nov 1999 12:00:17 +0000 (GMT)
From: dwmalone@maths.tcd.ie
Sender: dwmalone@maths.tcd.ie
Reply-To: dwmalone@maths.tcd.ie
To: FreeBSD-gnats-submit@freebsd.org
Subject: lockf(3) man page typo
X-Send-Pr-Version: 3.2

>Number:         14764
>Category:       docs
>Synopsis:       Typo on lockf(3) man page.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov  7 04:10:00 PST 1999
>Closed-Date:    Tue Nov 9 00:43:52 PST 1999
>Last-Modified:  Tue Nov  9 00:44:31 PST 1999
>Originator:     David Malone
>Release:        FreeBSD 3.3-STABLE i386
>Organization:
School of Maths, Trinity College, Dublin. Ireland.
>Environment:

3.3 or 4.0 - I didn't check 2.X.

>Description:

Top of lockf man page reads:

	NAME
	     lockf - record locking on files

	LIBRARY
	SYNOPSIS
	     #include <unistd.h>

	     int
	     lockf(int filedes, int function, off_t size)

The "LIBRARY" seems to be a typo. It seems to be trying to say that
lockf is in libc, but this isn't used in any other libc man pages.

>How-To-Repeat:

man 3 lockf

>Fix:
	
RCS file: lockf.3,v
retrieving revision 1.3
diff -u -r1.3 lockf.3
--- lockf.3     1999/08/27 23:58:48     1.3
+++ lockf.3     1999/11/07 11:07:17
@@ -42,8 +42,6 @@
 .Sh NAME
 .Nm lockf
 .Nd record locking on files
-.Sh LIBRARY
-.Lb libc
 .Sh SYNOPSIS
 .Fd #include <unistd.h>
 .Ft int


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: phantom 
State-Changed-When: Tue Nov 9 00:43:52 PST 1999 
State-Changed-Why:  
Fixed in both -CURRENT and -STABLE. 
>Unformatted:
