Validate pmemrange result, enabling early catching of bugs in the code.
Validate pmemrange result, enabling early catching of bugs in the code.

ok beck@

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