Files
OpenCellular/host
Randall Spangler 4c84e07785 crossystem: Fix mosys data length check
CL:942031 introduced a check for the length of output returned by
mosys.  If the output has a trailing newline, then the check failed.
Just make sure we get at least as much data as we expect.

BUG=b:74439800
BRANCH=none
TEST=run crossystem on bob; no 'mosys returned hex data' errors

Change-Id: If678b201185dbda869e4e17abae314470f5cef4a
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/958286
Reviewed-by: Stefan Reinauer <reinauer@chromium.org>
2018-03-11 17:56:29 -07:00
..