git: sensor: Save OID of sensordev sysctl tree.

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Fri Mar 27 01:40:38 PDT 2015


commit 2ce2b3899438d7e92f06f82d080bb5b99c993b5b
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Thu Mar 26 21:51:13 2015 +0800

    sensor: Save OID of sensordev sysctl tree.
    
    And allow sensordev sysctl tree registration to fail instead of panic,
    e.g. upon duplicated sensordevs.

Summary of changes:
 sys/kern/kern_sensors.c | 16 +++++++++++-----
 sys/sys/sensors.h       |  6 ++----
 2 files changed, 13 insertions(+), 9 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2ce2b3899438d7e92f06f82d080bb5b99c993b5b


-- 
DragonFly BSD source repository


More information about the Commits mailing list