Module Name: src
Committed By: martin
Date: Mon Apr 16 13:31:33 UTC 2018
src/sys/kern [netbsd-8]: kern_proc.c
Pull up following revision(s) (requested by kamil in ticket #758):
sys/kern/kern_proc.c: revision 1.212
Don't set errno ESRCH for empty result of KINFO_PROC
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 -r18.104.22.168 -r22.214.171.124 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.