commit | 95dbdedec1591f7b0a2849d84c052da4d1affe57 | [log] [tgz] |
---|---|---|
author | Stefan Brüns <stefan.bruens@rwth-aachen.de> | Sun Sep 11 22:51:42 2016 +0200 |
committer | Tom Rini <trini@konsulko.com> | Fri Sep 23 08:55:58 2016 -0400 |
tree | 0a3b6842212e744950922c66cf48d65870350e60 | |
parent | 149994024b78c804b1a5ab2cfe1924a3dc906e03 [diff] |
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>