Explicitly set errno to 0 before calling strto*.

Suggested by:	mjg
MFC after:	2 weeks