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/05/2007 14:08:37
Module Name:	src
Committed By:	xtraeme
Date:		Thu Jul  5 14:08:37 UTC 2007

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

Log Message:
Before checking sensor type:

- check if if its state is invalid
- print the 'N/A' string and continue

This avoids code duplication.


To generate a diff of this commit:
cvs rdiff -r1.28 -r1.29 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.