git: cpuctl - Implement close() properly for /dev/cpuctl*

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Nov 13 14:26:58 PST 2019


commit 2798dc7bfbb7ff3952396bfa193c0c387faef423
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Nov 13 14:24:52 2019 -0800

    cpuctl - Implement close() properly for /dev/cpuctl*
    
    * The cpuctl device didn't implement close().  Properly implement
      it so close() on cpuctl descriptors succeeds.
    
    Reported-by: zrj

Summary of changes:
 sys/dev/misc/cpuctl/cpuctl.c | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2798dc7bfbb7ff3952396bfa193c0c387faef423


-- 
DragonFly BSD source repository



More information about the Commits mailing list