mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-05 08:45:28 +00:00
Add function name to "unable to allocate memory" warnings.
This commit is contained in:
@@ -131,7 +131,7 @@ group_plugin_load(char *plugin_info)
|
||||
if (ac != 0) {
|
||||
argv = reallocarray(NULL, ac, sizeof(char *));
|
||||
if (argv == NULL) {
|
||||
sudo_warnx(U_("unable to allocate memory"));
|
||||
sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory"));
|
||||
goto done;
|
||||
}
|
||||
ac = 0;
|
||||
|
Reference in New Issue
Block a user