This commit is contained in:
elvis
2022-04-24 13:20:34 +02:00
parent 8abcb95d82
commit 19978f221f
2 changed files with 2 additions and 2 deletions

View File

@ -1691,7 +1691,7 @@ int closeEveryFile() {
}
int createOpenedFiles(void) {
openedFiles = calloc(1, sizeof(openedFiles));
openedFiles = calloc(1, sizeof(openfiles_t));
if(!openedFiles) {
perror("calloc");
return -1;