Subject: CVS commit: src/usr.sbin/envstat
To: None <source-changes@NetBSD.org>
From: Juan Romero Pardines <xtraeme@netbsd.org>
List: source-changes
Date: 07/12/2007 18:24:35
Module Name:	src
Committed By:	xtraeme
Date:		Thu Jul 12 18:24:35 UTC 2007

Modified Files:
	src/usr.sbin/envstat: envstat.c

Log Message:
- Do not refrence memory already freed, thanks to Geoff C. Wing for
  the analysis. Closes PR bin/36636.
- Also use the longest string for the column alignment counting all
  sensors available from all devices, not per-device.

Thanks to rmind@ for help.


To generate a diff of this commit:
cvs rdiff -r1.30 -r1.31 src/usr.sbin/envstat/envstat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.