Return to elf.c CVS log | Up to [local] / src / usr.bin / gprof |
version 1.4, 2007/01/09 15:13:37 | version 1.5, 2015/08/20 22:32:41 | ||
---|---|---|---|
|
|
||
#endif | #endif | ||
/* Allocate memory for them, plus a terminating entry. */ | /* Allocate memory for them, plus a terminating entry. */ | ||
if ((nl = (nltype *)calloc(nname + 1, sizeof(nltype))) == NULL) | if ((nl = calloc(nname + 1, sizeof(nltype))) == NULL) | ||
errx(1, "Insufficient memory for symbol table"); | errx(1, "Insufficient memory for symbol table"); | ||
/* Read them in. */ | /* Read them in. */ |