fastboot: fix arg handling causing no-op.

Change-Id: I89d4a6d14e542d8f2d7832d94b0a7cee6eb88305
This commit is contained in:
JP Abgrall 2011-03-01 23:35:07 -08:00
parent e05b9c75c2
commit 2d13d1408b

View file

@ -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)
{