docs/82636: [PATCH] Wrong argument type in src/lib/libdevstat/devstat.3
TAOKA Fumiyoshi
fmysh at iijmio-mail.jp
Sat Jun 25 11:00:33 UTC 2005
>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:
More information about the freebsd-doc
mailing list