kill perror("malloc") since we already have a good error messages
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user