From owner-freebsd-doc@FreeBSD.ORG Tue May 3 16:50:10 2011 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98A611065670 for ; Tue, 3 May 2011 16:50:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5A6788FC1B for ; Tue, 3 May 2011 16:50:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p43GoACc097545 for ; Tue, 3 May 2011 16:50:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p43GoAUA097544; Tue, 3 May 2011 16:50:10 GMT (envelope-from gnats) Resent-Date: Tue, 3 May 2011 16:50:10 GMT Resent-Message-Id: <201105031650.p43GoAUA097544@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jean-Yves Migeon Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB6821065672 for ; Tue, 3 May 2011 16:48:39 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id AA0768FC0C for ; Tue, 3 May 2011 16:48:39 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p43GmdJA034917 for ; Tue, 3 May 2011 16:48:39 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p43GmdB4034916; Tue, 3 May 2011 16:48:39 GMT (envelope-from nobody) Message-Id: <201105031648.p43GmdB4034916@red.freebsd.org> Date: Tue, 3 May 2011 16:48:39 GMT From: Jean-Yves Migeon To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/156796: prototype fix in fls(3) X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2011 16:50:10 -0000 >Number: 156796 >Category: docs >Synopsis: prototype fix in fls(3) >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: Tue May 03 16:50:10 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Jean-Yves Migeon >Release: FreeBSD-9 >Organization: >Environment: >Description: The fls(3) prototype displays incorrectly, as the .Ft int is placed at the wrong place. >How-To-Repeat: >Fix: Index: lib/libc/string/ffs.3 =================================================================== RCS file: /home/ncvs/src/lib/libc/string/ffs.3,v retrieving revision 1.13 diff -u -p -r1.13 ffs.3 --- lib/libc/string/ffs.3 13 Jan 2009 13:19:42 -0000 1.13 +++ lib/libc/string/ffs.3 3 May 2011 16:17:19 -0000 @@ -50,8 +50,8 @@ .Ft int .Fn ffsl "long value" .Ft int -.Ft int .Fn ffsll "long long value" +.Ft int .Fn fls "int value" .Ft int .Fn flsl "long value" >Release-Note: >Audit-Trail: >Unformatted: