Skip to content
Snippets Groups Projects
Commit 454e3d90 authored by Stefan Brüns's avatar Stefan Brüns Committed by Tom Rini
Browse files

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: default avatarStefan Brüns <stefan.bruens@rwth-aachen.de>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent ae1755be
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment