Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jun 2005 19:57:15 +0900 (JST)
From:      TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/82636: [PATCH] Wrong argument type in src/lib/libdevstat/devstat.3
Message-ID:  <20050625105715.2ECFEF1828@prime.quad.dyndns.org>
Resent-Message-ID: <200506251100.j5PB0WaX012455@freefall.freebsd.org>

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

>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:



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