commit | 2d13d1408bef9e26cc418e6fc2579dfd12378a3c | [log] [tgz] |
---|---|---|
author | JP Abgrall <jpa@google.com> | Tue Mar 01 23:35:07 2011 -0800 |
committer | JP Abgrall <jpa@google.com> | Tue Mar 01 23:35:07 2011 -0800 |
tree | 3ff4dabc1cf0b252826cde1c9f03c6b673553c17 | |
parent | e05b9c75c2fd446284a7b35ae6be5bae1bfe3cba [diff] [blame] |
fastboot: fix arg handling causing no-op. Change-Id: I89d4a6d14e542d8f2d7832d94b0a7cee6eb88305
diff --git a/fastboot/fastboot.c b/fastboot/fastboot.c index e79e6c2..2ddc4f8 100644 --- a/fastboot/fastboot.c +++ b/fastboot/fastboot.c
@@ -525,7 +525,7 @@ } #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) {