summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat/devs.c
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/devs.c
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/devs.c')
-rw-r--r--usr.bin/systat/devs.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/systat/devs.c b/usr.bin/systat/devs.c
index 42cc88a..9e846db 100644
--- a/usr.bin/systat/devs.c
+++ b/usr.bin/systat/devs.c
@@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: devs.c,v 1.1 1998/09/15 08:16:40 gibbs Exp $
*/
/*
* Some code and ideas taken from the old disks.c.
@@ -81,8 +81,10 @@ typedef enum {
last_match_type last_type;
struct device_selection *dev_select;
-int generation, num_devices, num_selected;
-int num_selections, select_generation;
+long generation;
+int num_devices, num_selected;
+int num_selections;
+long select_generation;
struct devstat_match *matches = NULL;
int num_matches = 0;
char **specified_devices;
OpenPOWER on IntegriCloud