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/04/2007 19:56:03
Module Name: src
Committed By: xtraeme
Date: Wed Jul 4 19:56:03 UTC 2007
Modified Files:
src/usr.sbin/envstat: envstat.c
Log Message:
By popular demand, do not skip sensors with invalid state. Print them
with an asterisk, as was suggested by Greg. A. Woods.
Example:
$ ./envstat -dlm0 -s "CPU Fan,System Fan,Aux Fan"
System Fan: *
CPU Fan: 1308 RPM
Aux Fan: *
$
Except Integer and Driver sensors, which shouldn't need that.
To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 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.