No need to translate "unable to allocate memory" when we can just

use the system translation via strerror().
This commit is contained in:
Todd C. Miller
2012-09-17 16:59:26 -04:00
parent f808fead0a
commit 1d90c0ad71
9 changed files with 28 additions and 26 deletions

View File

@@ -126,7 +126,7 @@ group_plugin_load(char *plugin_info)
if (ac != 0) {
argv = malloc(ac * sizeof(char *));
if (argv == NULL) {
fprintf(stderr, "unable to allocate memory\n");
perror(NULL);
return -1;
}
ac = 0;