From 634eb5fb07307dca075a201ec33c1cfbc390a7db Mon Sep 17 00:00:00 2001 From: Philippe Charnier Date: Sun, 17 Jul 2005 13:33:04 +0000 Subject: [PATCH] sync function prototype with reality. --- lib/libdevstat/devstat.3 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/libdevstat/devstat.3 b/lib/libdevstat/devstat.3 index 2b314ddb397b..1241279ea38a 100644 --- a/lib/libdevstat/devstat.3 +++ b/lib/libdevstat/devstat.3 @@ -87,7 +87,10 @@ .Fa "..." .Fc .Ft "long double" -.Fn devstat_compute_etime "struct bintime cur_time" "struct bintime prev_time" +.Fo devstat_compute_etime +.Fa "struct bintime *cur_time" +.Fa "struct bintime *prev_time" +.Fc .Sh DESCRIPTION The .Nm @@ -684,7 +687,9 @@ This can be useful in scenarios where the statistics to be calculated are determined at run time. .El .Pp +The .Fn devstat_compute_etime +function provides an easy way to find the difference in seconds between two .Vt bintime structures.