summaryrefslogtreecommitdiffstats
path: root/discover
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2014-08-01 11:08:40 +0800
committerJeremy Kerr <jk@ozlabs.org>2014-08-01 11:22:15 +0800
commit7e5f507388868736e840201846b576b778b6848f (patch)
tree4d8a223911c83c6dc3838ed5393652b629736948 /discover
parenta65fe9b152b4a03f30b7ce88a17e7f177dd1c169 (diff)
downloadpetitboot-7e5f507388868736e840201846b576b778b6848f.zip
petitboot-7e5f507388868736e840201846b576b778b6848f.tar.gz
discover: add initialiser for config->safe_mode
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover')
-rw-r--r--discover/platform.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/discover/platform.c b/discover/platform.c
index 11e18f8..0dced16 100644
--- a/discover/platform.c
+++ b/discover/platform.c
@@ -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;
OpenPOWER on IntegriCloud