Files
Colin Percival 6ddb10cf6b gstat: Set errno = 0 before strtoul
The strtoul function sets errno on error, but does not clear it on
success; when using strtoul and checking errno (as one should) for
ERANGE / EINVAL afterwards, it's important to zero errno first.

While here, remove a dead store.

Reviewed by:	phk
Fixes:	4fe8c1b67b ("Add error and range checking ... ")
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D59270
2026-08-31 12:13:52 -07:00
..
2026-08-31 12:13:52 -07:00
…