]> git.sur5r.net Git - u-boot/commit
sandbox: Correct error handling in state_read_file()
authorSimon Glass <sjg@chromium.org>
Mon, 4 May 2015 17:31:07 +0000 (11:31 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 15 May 2015 00:49:34 +0000 (18:49 -0600)
commitd73125cb8e2e43e6476642206e0fec7c83b486c9
tree9aa19ddf8336d7b9c122469c93b26146a4b6ac99
parent5519912164698b634893913b4408fee736d01d06
sandbox: Correct error handling in state_read_file()

This function should return a useful error for U-Boot, rather than -1.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
arch/sandbox/cpu/state.c