cmd: load, emit error message for invalid block device
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 27 Jan 2021 20:26:43 +0000 (21:26 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 1 Feb 2021 21:32:06 +0000 (16:32 -0500)
commitec9d19be8d6cabc820e133bb36a1386adcf0b3d1
treec445564d88ddd4dbace2412fc57728156425af09
parente18bf3943b081507f5040afd5c1866f2e87f0da5
cmd: load, emit error message for invalid block device

The load command should not silently return to the console prompt if an
invalid block device is specified and no file is loaded.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
fs/fs.c