summaryrefslogtreecommitdiffstats
path: root/common/cmd_ace.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_ace.c')
-rw-r--r--common/cmd_ace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/cmd_ace.c b/common/cmd_ace.c
index fb4d3584b5..b6d61057fd 100644
--- a/common/cmd_ace.c
+++ b/common/cmd_ace.c
@@ -131,6 +131,7 @@ block_dev_desc_t * systemace_get_dev(int dev)
not yet initialized. In that case, fill it in. */
if (systemace_dev.blksz == 0) {
systemace_dev.if_type = IF_TYPE_UNKNOWN;
+ systemace_dev.dev = 0;
systemace_dev.part_type = PART_TYPE_UNKNOWN;
systemace_dev.type = DEV_TYPE_HARDDISK;
systemace_dev.blksz = 512;
OpenPOWER on IntegriCloud