fp = open_memstream (&ptr, &size);
if (fp == NULL) {
perror ("open_memstream");
- exit (1);
+ exit (EXIT_FAILURE);
}
if (h) {
char **names = calloc (len, sizeof (char *));
if (names == NULL) {
perror ("malloc");
- exit (1);
+ exit (EXIT_FAILURE);
}
int ret = -1;