3ac68ecf7b
fixes the compile and uses td->td_proc instead of p. Obtained from: TrustedBSD Project
fixes the compile and uses td->td_proc instead of p. Obtained from: TrustedBSD Project