summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-05-21 15:23:55 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-06-24 12:52:49 +0800
commit0652811c2ed9bf891dea50bf6078bf9f89b86f70 (patch)
treea8b29129f3c994665ce658a174c3aea0f2e00c34 /ui
parent936e57208c8e651be0f3dee6cfc635d719410100 (diff)
downloadtalos-petitboot-0652811c2ed9bf891dea50bf6078bf9f89b86f70.tar.gz
talos-petitboot-0652811c2ed9bf891dea50bf6078bf9f89b86f70.zip
ui/test: print default status of boot options
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui')
-rw-r--r--ui/test/discover-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/test/discover-test.c b/ui/test/discover-test.c
index 5077937..b81d367 100644
--- a/ui/test/discover-test.c
+++ b/ui/test/discover-test.c
@@ -41,6 +41,7 @@ static int print_boot_option_add(struct device *dev,
printf("\tboot: %s\n", opt->boot_image_file);
printf("\tinit: %s\n", opt->initrd_file);
printf("\targs: %s\n", opt->boot_args);
+ printf("\tdefault:%d\n", opt->is_default);
return 0;
}
OpenPOWER on IntegriCloud