Date: Tue, 08 Sep 1998 19:30:03 -0700 From: Mike Smith <mike@smith.net.au> To: Scott Michel <scottm@cs.ucla.edu> Cc: freebsd-current@FreeBSD.ORG Subject: Re: vmstat/iostat dumping all over the place Message-ID: <199809090230.TAA02398@dingo.cdrom.com> In-Reply-To: Your message of "Tue, 08 Sep 1998 18:41:42 PDT." <199809090141.SAA11928@mordred.cs.ucla.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 };
Thanks, fixed.
--
\\ Sometimes you're ahead, \\ Mike Smith
\\ sometimes you're behind. \\ mike@smith.net.au
\\ The race is long, and in the \\ msmith@freebsd.org
\\ end it's only with yourself. \\ msmith@cdrom.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809090230.TAA02398>
