fastboot: fix arg handling causing no-op.
Change-Id: I89d4a6d14e542d8f2d7832d94b0a7cee6eb88305
This commit is contained in:
parent
e05b9c75c2
commit
2d13d1408b
1 changed files with 1 additions and 1 deletions
|
|
@ -525,7 +525,7 @@ void do_flashall(void)
|
|||
}
|
||||
|
||||
#define skip(n) do { argc -= (n); argv += (n); } while (0)
|
||||
#define require(n) do { if (argc < (n)) usage(); exit(1);} while (0)
|
||||
#define require(n) do { if (argc < (n)) {usage(); exit(1);}} while (0)
|
||||
|
||||
int do_oem_command(int argc, char **argv)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue