git: kqueue: Fix typo in filt_userattach function: kn_fflags vs. kn_sfflags.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Sat Aug 19 14:14:47 PDT 2017


commit 6b38d89f74cceb760ddb8e7e48228cf159152062
Author: Imre Vadász <imre at vdsz.com>
Date:   Sat Aug 19 19:03:32 2017 +0200

    kqueue: Fix typo in filt_userattach function: kn_fflags vs. kn_sfflags.
    
    * This typo meant that adding an EVFILT_USER event with NOTE_TRIGGER already
      set, would fail to trigger the user event.
    
    * So far I didn't find any EVFILT_USER usages in opensource code, where
      the NOTE_TRIGGER flag is set when adding the EVFILT_USER event, so this
      fix seems to be a cornercase in practice.

Summary of changes:
 sys/kern/kern_event.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6b38d89f74cceb760ddb8e7e48228cf159152062


-- 
DragonFly BSD source repository


More information about the Commits mailing list