pid_get_parent: fix for OpenBSD
This fixes a long standing bug in pid_get_parent on OpenBSD (which was mine so... my fault). kp wasn't properly allocated and the function could return random failures.
This fixes a long standing bug in pid_get_parent on OpenBSD (which was mine so... my fault). kp wasn't properly allocated and the function could return random failures.