discover: add initialiser for config->safe_mode
authorJeremy Kerr <jk@ozlabs.org>
Fri, 1 Aug 2014 03:08:40 +0000 (11:08 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Fri, 1 Aug 2014 03:22:15 +0000 (11:22 +0800)
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
discover/platform.c

index 11e18f8f0157b62f3e8ad2e3bfb2af5c74f727e5..0dced1697f6458c8c4dc3291758da593f1fa47aa 100644 (file)
@@ -95,6 +95,7 @@ void config_set_defaults(struct config *config)
        config->network.dns_servers = NULL;
        config->network.n_dns_servers = 0;
        config->boot_device = NULL;
+       config->safe_mode = false;
        config->lang = NULL;
 
        config->n_boot_priorities = 2;