Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | discover/yaboot: Fix assertion failure on empty yaboot files | Jeremy Kerr | 2013-12-10 | 1 | -0/+12 |
yaboot configuration files with no option will cause an assertion failure (or segfault), as we unconditionally call yaboot_finish(). Check for the presence of an option in yaboot_finish() instead of asserting. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> |