Fix type checking on curproc
Merge branch 'master' of github.com:zfs-osx/spl