diff options
author | pluknet <pluknet@FreeBSD.org> | 2013-08-21 22:37:15 +0000 |
---|---|---|
committer | pluknet <pluknet@FreeBSD.org> | 2013-08-21 22:37:15 +0000 |
commit | 96dfe577d25fd7efedf4ae97d4a81f81ae7fd1c8 (patch) | |
tree | 46aa7220e77a111bb6f8179411f69c0dc730fc4d /sys/vm | |
parent | f3b717cec9765ebd1d6b042e35b047f3a49929d4 (diff) | |
download | FreeBSD-src-96dfe577d25fd7efedf4ae97d4a81f81ae7fd1c8.zip FreeBSD-src-96dfe577d25fd7efedf4ae97d4a81f81ae7fd1c8.tar.gz |
Reset errno before strtoumax() call to properly detect ERANGE.
Restore saved errno if strtoumax() call is successful.
Reported by: ache
Reviewed by: jilles
MFC after: 1 week
Diffstat (limited to 'sys/vm')
0 files changed, 0 insertions, 0 deletions