From 2d13d1408bef9e26cc418e6fc2579dfd12378a3c Mon Sep 17 00:00:00 2001 From: JP Abgrall Date: Tue, 1 Mar 2011 23:35:07 -0800 Subject: [PATCH] fastboot: fix arg handling causing no-op. Change-Id: I89d4a6d14e542d8f2d7832d94b0a7cee6eb88305 --- fastboot/fastboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastboot/fastboot.c b/fastboot/fastboot.c index e79e6c285..2ddc4f89a 100644 --- a/fastboot/fastboot.c +++ b/fastboot/fastboot.c @@ -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) {