mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-06 18:29:47 +00:00
![Pawel Jakub Dawidek](/assets/img/avatar_default.png)
Reported by: phk - While here, check the unit before calculating the actually number. This way we can return EINVAL for invalid unit instead of ERANGE. Approved by: re (kensmith)