mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
Use sudo_strtonum() explicitly instead of via a macro.
This commit is contained in:
@@ -416,7 +416,7 @@ cvtsudoers_parse_keyword(const char *conf_file, const char *keyword,
|
||||
case CONF_UINT:
|
||||
{
|
||||
unsigned int uval =
|
||||
strtonum(value, 0, UINT_MAX, &errstr);
|
||||
sudo_strtonum(value, 0, UINT_MAX, &errstr);
|
||||
if (errstr != NULL) {
|
||||
sudo_warnx(U_("%s: %s: %s: %s"),
|
||||
conf_file, keyword, value, U_(errstr));
|
||||
|
Reference in New Issue
Block a user