kill perror("malloc") since we already have a good error messages

This commit is contained in:
Todd C. Miller
1998-11-04 01:39:25 +00:00
parent de21acbb37
commit 5731e248b5

View File

@@ -160,7 +160,6 @@ void log_error(code)
logline = (char *) malloc(count); logline = (char *) malloc(count);
if (logline == NULL) { if (logline == NULL) {
perror("malloc");
(void) fprintf(stderr, "%s: cannot allocate memory!\n", Argv[0]); (void) fprintf(stderr, "%s: cannot allocate memory!\n", Argv[0]);
exit(1); exit(1);
} }