CVSROOT: /cvs Module name: src Changes by: dera...@cvs.openbsd.org 2010/04/20 14:49:36
Modified files: sys/kern : kern_sensors.c kern_sysctl.c sys/arch/sparc64/dev: tda.c lib/libc/gen : sysctl.3 sbin/sysctl : sysctl.c sys/sys : sensors.h usr.bin/systat : sensors.c usr.sbin/ntpd : sensors.c usr.sbin/sensorsd: sensorsd.c usr.sbin/snmpd : mib.c Log message: Get rid of MAXSENSORDEVICES. Gaps in sensordev lists are now handled by returning ENXIO instead of ENOENT, to essentially indicate hotplug sensor that has gone away. Accessing beyond the end of the sensordev list still returns ENOENT, so that you can see there are no further devices. ok kettenis oga