summaryrefslogtreecommitdiffstats
path: root/src/kernel/block.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/block.C')
-rw-r--r--src/kernel/block.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/block.C b/src/kernel/block.C
index c33529963..7cd7e75af 100644
--- a/src/kernel/block.C
+++ b/src/kernel/block.C
@@ -66,7 +66,7 @@ void Block::init(MessageQueue* i_msgQ, uint64_t *i_spteAddr)
if (i_spteAddr == NULL)
{
// Create a shadow PTE for each page.
- iv_ptes = new ShadowPTE[iv_size / PAGESIZE];
+ iv_ptes = new ShadowPTE[iv_size / PAGESIZE]();
}
else // set the page table to reside at the address requested
{
OpenPOWER on IntegriCloud