From fmysh@quad.dyndns.org  Sat Jun 25 10:57:25 2005
Return-Path: <fmysh@quad.dyndns.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 735C816A41C
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <fmysh@iijmio-mail.jp>
Reply-To: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
To: FreeBSD-gnats-submit@freebsd.org
Cc: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
Subject: [PATCH] Wrong argument type in src/lib/libdevstat/devstat.3
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 25 11:00:32 GMT 2005
>Closed-Date:    Mon Jul 25 02:19:47 GMT 2005
>Last-Modified:  Mon Jul 25 02:19:47 GMT 2005
>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:
State-Changed-From-To: open->closed 
State-Changed-By: hmp 
State-Changed-When: Mon Jul 25 02:18:00 GMT 2005 
State-Changed-Why:  
Offending prototype fixed in CVS revision 1.27 of the devstat(3) 
manual page. 

Thank you! 


http://www.freebsd.org/cgi/query-pr.cgi?pr=82636 
>Unformatted:
