diff options
author | tedu <> | 2015-02-24 19:19:32 +0000 |
---|---|---|
committer | tedu <> | 2015-02-24 19:19:32 +0000 |
commit | c26938f193a6b5aa045558e4f3b17074d78823a0 (patch) | |
tree | 698aa4f0becbb1736c300ecd068b9d0662ed1e61 /src/lib/libc/stdlib/llabs.c | |
parent | 9cb1a51933a1847042ee88e16d560485f682bcad (diff) | |
download | openbsd-c26938f193a6b5aa045558e4f3b17074d78823a0.tar.gz openbsd-c26938f193a6b5aa045558e4f3b17074d78823a0.tar.bz2 openbsd-c26938f193a6b5aa045558e4f3b17074d78823a0.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/llabs.c')
0 files changed, 0 insertions, 0 deletions