erroneously EINVAL is always reported where the function actually produces the real errno for the problem. currently for kernel memory allocation failures bioctl would return EINVAL that makes no sense.
erroneously EINVAL is always reported where the function
actually produces the real errno for the problem.
currently for kernel memory allocation failures
bioctl would return EINVAL that makes no sense.

another diff from mickey

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