summaryrefslogtreecommitdiffstats
path: root/lib/libdevstat/devstat.3
diff options
context:
space:
mode:
authorken <ken@FreeBSD.org>1998-09-20 00:11:23 +0000
committerken <ken@FreeBSD.org>1998-09-20 00:11:23 +0000
commit7c2e7bb8801f9ef8e3e4ab93dc153e7901f3338e (patch)
treec143714a5306e798bef167a851c06b083fcf45ad /lib/libdevstat/devstat.3
parent79ff6f224d335b39f52730937b59b8cbc8bf329b (diff)
downloadFreeBSD-src-7c2e7bb8801f9ef8e3e4ab93dc153e7901f3338e.zip
FreeBSD-src-7c2e7bb8801f9ef8e3e4ab93dc153e7901f3338e.tar.gz
Change the devstat generation number from an int to a long. The int-sized
generation was causing unaligned access faults on the Alpha. I have incremented the devstat version number, since this is an interface change. You'll need to recompile libdevstat, systat, iostat, vmstat and rpc.rstatd along with your kernel. Partially Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
Diffstat (limited to 'lib/libdevstat/devstat.3')
-rw-r--r--lib/libdevstat/devstat.310
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libdevstat/devstat.3 b/lib/libdevstat/devstat.3
index 189f703..6da22aa 100644
--- a/lib/libdevstat/devstat.3
+++ b/lib/libdevstat/devstat.3
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: devstat.3,v 1.1 1998/09/15 06:23:21 gibbs Exp $
.\"
.Dd May 21, 1998
.Dt DEVSTAT 3
@@ -37,7 +37,7 @@
.Fd #include <devstat.h>
.Ft int
.Fn getnumdevs "void"
-.Ft int
+.Ft long
.Fn getgeneration "void"
.Ft int
.Fn getversion "void"
@@ -50,8 +50,8 @@
.Fa "struct device_selection **dev_select"
.Fa "int *num_selected"
.Fa "int *num_selections"
-.Fa "int *select_generation"
-.Fa "int current_generation"
+.Fa "long *select_generation"
+.Fa "long current_generation"
.Fa "struct devstat *devices"
.Fa "int numdevs"
.Fa "struct devstat_match *matches"
@@ -146,7 +146,7 @@ subelement contains the following elements:
struct devinfo {
struct devstat *devices;
u_int8_t *mem_ptr;
- int generation;
+ long generation;
int numdevs;
};
.Ed
OpenPOWER on IntegriCloud