summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat/extern.h
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 /usr.bin/systat/extern.h
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 'usr.bin/systat/extern.h')
-rw-r--r--usr.bin/systat/extern.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/systat/extern.h b/usr.bin/systat/extern.h
index 3b44cd9..d6e3887 100644
--- a/usr.bin/systat/extern.h
+++ b/usr.bin/systat/extern.h
@@ -61,11 +61,11 @@ extern int verbose;
struct inpcb;
extern struct device_selection *dev_select;
-extern int generation;
+extern long generation;
extern int num_devices;
extern int num_selected;
extern int num_selections;
-extern int select_generation;
+extern long select_generation;
int checkhost __P((struct inpcb *));
int checkport __P((struct inpcb *));
OpenPOWER on IntegriCloud