diff options
author | Stefan Brüns <stefan.bruens@rwth-aachen.de> | 2016-09-11 22:51:42 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-09-23 08:55:58 -0400 |
commit | 454e3d90302d52b619e6df7ebbe716964cee016e (patch) | |
tree | 0a3b6842212e744950922c66cf48d65870350e60 /test | |
parent | ae1755be37e3d51af631ff2df12189c9fdc3e1d7 (diff) | |
download | u-boot-imx-454e3d90302d52b619e6df7ebbe716964cee016e.zip u-boot-imx-454e3d90302d52b619e6df7ebbe716964cee016e.tar.gz u-boot-imx-454e3d90302d52b619e6df7ebbe716964cee016e.tar.bz2 |
cmd/fat: Do not crash on write when <bytes> is not specified
argc is checked, but is off by one. In case <bytes> is not specified,
create an empty file, which is identical to the ext4write behaviour.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions