summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2007-09-05 14:27:13 +0000
committerpjd <pjd@FreeBSD.org>2007-09-05 14:27:13 +0000
commitcdecabb273c2f8b867b0e440f11251cb298ff0e3 (patch)
tree433fdc111f0371a66bdd38ab663c47034125d48d /lib/libc
parent7002fe2c1fab8be248223d1bb48999e930ee9abb (diff)
downloadFreeBSD-src-cdecabb273c2f8b867b0e440f11251cb298ff0e3.zip
FreeBSD-src-cdecabb273c2f8b867b0e440f11251cb298ff0e3.tar.gz
- Fix strange for loop.
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)
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud