sandbox: sdl: Improve error handling
authorSimon Glass <sjg@chromium.org>
Mon, 3 Feb 2020 14:36:09 +0000 (07:36 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Feb 2020 02:33:46 +0000 (19:33 -0700)
commit5f736f8eca06c8c5e4f18750355ff01338141ae5
tree96a91aea186870dc86d85bf71c2bf41dc93216a1
parentc127f191a8dbfddc480a425bbca14730dfc4d441
sandbox: sdl: Improve error handling

A few errors are not checked. Fix these and use my preferred spelling for
init.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/sdl.c