From owner-freebsd-doc@FreeBSD.ORG Sat Jun 25 11:00:33 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B50EE16A41C for ; Sat, 25 Jun 2005 11:00:33 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2202B43D67 for ; Sat, 25 Jun 2005 11:00:33 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j5PB0WFD012456 for ; Sat, 25 Jun 2005 11:00:32 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j5PB0WaX012455; Sat, 25 Jun 2005 11:00:32 GMT (envelope-from gnats) Resent-Date: Sat, 25 Jun 2005 11:00:32 GMT Resent-Message-Id: <200506251100.j5PB0WaX012455@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, TAOKA Fumiyoshi Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 735C816A41C for ; Sat, 25 Jun 2005 10:57:25 +0000 (GMT) (envelope-from fmysh@quad.dyndns.org) Received: from prime.quad.dyndns.org (12.57.138.210.xn.2iij.net [210.138.57.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3608143D53 for ; Sat, 25 Jun 2005 10:57:24 +0000 (GMT) (envelope-from fmysh@quad.dyndns.org) Received: from localhost (localhost [127.0.0.1]) by prime.quad.dyndns.org (Postfix) with ESMTP id F412BF182B; Sat, 25 Jun 2005 19:57:22 +0900 (JST) Received: from prime.quad.dyndns.org ([127.0.0.1]) by localhost (prime.quad.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00857-05; Sat, 25 Jun 2005 19:57:15 +0900 (JST) Received: by prime.quad.dyndns.org (Postfix, from userid 1001) id 2ECFEF1828; Sat, 25 Jun 2005 19:57:15 +0900 (JST) Message-Id: <20050625105715.2ECFEF1828@prime.quad.dyndns.org> Date: Sat, 25 Jun 2005 19:57:15 +0900 (JST) From: TAOKA Fumiyoshi To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: docs/82636: [PATCH] Wrong argument type in src/lib/libdevstat/devstat.3 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: TAOKA Fumiyoshi List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jun 2005 11:00:33 -0000 >Number: 82636 >Category: docs >Synopsis: [PATCH] Wrong argument type in src/lib/libdevstat/devstat.3 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sat Jun 25 11:00:32 GMT 2005 >Closed-Date: >Last-Modified: >Originator: TAOKA Fumiyoshi >Release: >Organization: >Environment: >Description: Though devstat_compute_etime(3) takes struct bintime * arguments as seen in src/lib/libdevstat/devstat.[ch], the man page shows that it takes not pointers but struct bintime. >How-To-Repeat: >Fix: Index: devstat.3 =================================================================== RCS file: /home/ncvs/src/lib/libdevstat/devstat.3,v retrieving revision 1.25 diff -u -r1.25 devstat.3 --- devstat.3 2 Jul 2004 23:52:15 -0000 1.25 +++ devstat.3 25 Jun 2005 10:18:47 -0000 @@ -99,8 +99,8 @@ .Fc .Ft long double .Fo devstat_compute_etime -.Fa "struct bintime cur_time" -.Fa "struct bintime prev_time" +.Fa "struct bintime *cur_time" +.Fa "struct bintime *prev_time" .Fc .Sh DESCRIPTION The >Release-Note: >Audit-Trail: >Unformatted: