diff options
author | Tom Cherry <tomcherry@google.com> | 2018-06-12 10:27:28 -0700 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2018-06-12 11:18:17 -0700 |
commit | 788fc8229c933f44957d27d1447164c0b2538f8d (patch) | |
tree | 5193cdfbfb9cd527d4aa779d50ea79c34fc246d5 /libsparse/sparse.cpp | |
parent | ae74e42d2557b93a3da9ef75c51ef1f6aab3cc0a (diff) |
init: Actually check the return value for calls during first stage init
Init never checked the return values of the calls made during first
stage init (since of course they're not going to fail, right?). But
of course commands can fail and they might not necessarily be obvious
when they do, so let's make it obvious.
Since the kernel log isn't up until later, this creates a list of the
failures that can then be sent to the kernel log once it's ready
(pending of course failures in setting it up...)
Test: boot bullhead, don't see errors
Change-Id: I8c12c61fa12e4368346e8b0e1c0bb0844b5d0377
Diffstat (limited to 'libsparse/sparse.cpp')
0 files changed, 0 insertions, 0 deletions