checkpoint
This commit is contained in:
parent
125d37c471
commit
1dc7c0ed84
8 changed files with 894 additions and 406 deletions
|
@ -73,7 +73,7 @@ zalloc(long size)
|
|||
void *memory = malloc(size);
|
||||
if (memory == NULL)
|
||||
error("zmalloc failed\n");
|
||||
bzero(memory, size);
|
||||
memset(memory, 0, size);
|
||||
return memory;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue