From owner-freebsd-current Tue Sep 8 18:41:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA26438 for freebsd-current-outgoing; Tue, 8 Sep 1998 18:41:50 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from mordred.cs.ucla.edu (Mordred.CS.UCLA.EDU [131.179.48.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA26432 for ; Tue, 8 Sep 1998 18:41:49 -0700 (PDT) (envelope-from scottm@mordred.cs.ucla.edu) Received: from mordred.cs.ucla.edu (localhost [127.0.0.1]) by mordred.cs.ucla.edu (8.9.1/8.8.8) with ESMTP id SAA11928 for ; Tue, 8 Sep 1998 18:41:43 -0700 (PDT) (envelope-from scottm@mordred.cs.ucla.edu) Message-Id: <199809090141.SAA11928@mordred.cs.ucla.edu> X-Mailer: exmh version 2.0.2 2/24/98 To: freebsd-current@FreeBSD.ORG Subject: Re: vmstat/iostat dumping all over the place Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 08 Sep 1998 18:41:42 -0700 From: Scott Michel Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I zapped the message which identified the problem. It looks like there is a missing 0 or NULL at the end of the defnames[] array in src/usr.bin/vmstat/names.c. I made a local mod to mine, and that's the problem. Change line 47 from: char *defdrives[] = { "wd0", "wd1", "sd0", "sd1" }; to: char *defdrives[] = { "wd0", "wd1", "sd0", "sd1", NULL }; -scooter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message