missing initializers in page in shm

This commit is contained in:
K. Lange 2018-08-07 18:25:23 +09:00
parent b677716900
commit 84b007fa6a

View File

@ -105,7 +105,7 @@ static shm_chunk_t * create_chunk (shm_node_t * parent, size_t size) {
/* Now grab some frames for this guy. */
for (uint32_t i = 0; i < chunk->num_frames; i++) {
page_t tmp = {0,0,0,0,0,0,0};
page_t tmp = {0};
alloc_frame(&tmp, 0, 0);
chunk->frames[i] = tmp.frame;
#if 0