summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib
diff options
context:
space:
mode:
authortedu <>2015-02-24 19:19:32 +0000
committertedu <>2015-02-24 19:19:32 +0000
commit2183f1732174b17cc3ac80af51756f37e634f81d (patch)
tree698aa4f0becbb1736c300ecd068b9d0662ed1e61 /src/lib/libc/stdlib
parent3fed19a0557c5cc4db5053d380747aa1615cb201 (diff)
downloadopenbsd-2183f1732174b17cc3ac80af51756f37e634f81d.tar.gz
openbsd-2183f1732174b17cc3ac80af51756f37e634f81d.tar.bz2
openbsd-2183f1732174b17cc3ac80af51756f37e634f81d.zip
Set errno to EINVAL, instead of letting ERANGE escape out.
Printing strerror() in that case will say result too large, even if rounds is actually too small. invalid is less specific, but less incorrect. ok millert
Diffstat (limited to 'src/lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions