]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/getrange.c: getrange(): Use a2ul() instead of strtoul_noneg()
authorAlejandro Colomar <alx@kernel.org>
Sat, 6 Jan 2024 23:24:26 +0000 (00:24 +0100)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Fri, 17 May 2024 13:40:03 +0000 (15:40 +0200)
commit040ba6a853fcb37a605cf071bf4510fd3f7d8050
tree214f8a44f7d3da73d18bff1e9e1b0b9afa9e1287
parentb0498564b22faeb874dd4fc248fab4220b68e41a
lib/getrange.c: getrange(): Use a2ul() instead of strtoul_noneg()

It simplifies the error checking.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/getrange.c