Subject: Re: kern/36660: envsys sensor names are not unique
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Juan RP <juan@xtrarom.org>
List: netbsd-bugs
Date: 07/21/2007 11:00:06
The following reply was made to PR kern/36660; it has been noted by GNATS.

From: Juan RP <juan@xtrarom.org>
To: gnats-bugs@NetBSD.org
Cc: yamt@mwd.biglobe.ne.jp
Subject: Re: kern/36660: envsys sensor names are not unique
Date: Sat, 21 Jul 2007 12:57:02 +0200

 On Sat, 21 Jul 2007 10:55:02 +0000 (UTC)
 Juan RP <juan@xtrarom.org> wrote:
 
 >  $ envstat -s "acpibat0 charge" -dacpibat0   
 >          acpibat0 charge:      0.663 Ah (16.92%) critical ( 2.50%)
 >  $ envstat -s "acpibat0 charge"            
 >  envstat: unknown sensor `acpibat0 charge'
 >  $
 >   
 >  And yes, the code checks if -s is used without -d.
 
 Oh wait, now that I'm seeing it... this should have triggered the check.
 
 I'll fix.
 
 -- 
 Juan Romero Pardines 	- The NetBSD Project
 http://plog.xtrarom.org 	- NetBSD/pkgsrc news in Spanish