use curproc instead of proc0 pointed out by and OK bluhm@
use curproc instead of proc0
pointed out by and OK bluhm@

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars