Subject: PR/36660 CVS commit: src/sys
To: None <,,>
From: Juan Romero Pardines <>
List: netbsd-bugs
Date: 07/17/2007 16:50:03
The following reply was made to PR kern/36660; it has been noted by GNATS.

From: Juan Romero Pardines <>
Subject: PR/36660 CVS commit: src/sys
Date: Tue, 17 Jul 2007 16:47:58 +0000 (UTC)

 Module Name:	src
 Committed By:	xtraeme
 Date:		Tue Jul 17 16:47:58 UTC 2007
 Modified Files:
 	src/sys/dev/sysmon: sysmon_envsys.c
 	src/sys/sys: envsys.h
 Log Message:
 Skip sensors with the same description on the same device at attach time,
 if the description of it is not unique, mark the sensor with
 ENVSYS_FDUPDESC, return EEXIST and continue.
 Also, when changing a description, check that the new description is not
 assigned by any other sensor, otherwise return EEXIST.
 Note that these restrictions are only per device. Fixes PR kern/36660.
 To generate a diff of this commit:
 cvs rdiff -r1.22 -r1.23 src/sys/dev/sysmon/sysmon_envsys.c
 cvs rdiff -r1.12 -r1.13 src/sys/sys/envsys.h
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.