Module Name:    src
Committed By:   kamil
Date:           Sat Apr 14 14:26:20 UTC 2018

Modified Files:
        src/sys/kern: kern_proc.c

Log Message:
Don't set errno ESRCH for empty result of KINFO_PROC[2]

Restore the previous behavior as it's prefered.

This new behavior was introduced in 1.210.

Code should check for length of the result.

Requested by <mlelstv>

To generate a diff of this commit:
cvs rdiff -u -r1.211 -r1.212 src/sys/kern/kern_proc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to