summaryrefslogtreecommitdiff
path: root/boot_control_copy
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2016-05-18 15:03:01 -0700
committerChih-Hung Hsieh <chh@google.com>2016-05-18 15:03:01 -0700
commit54e8bf712f0fb15c4356521400b002f3d7fadd25 (patch)
treeaf1678cc404aa6e36e49448a8719f3138290c84e /boot_control_copy
parent5767273e98eb1a17827f0eb95612fb3fb4d6f12c (diff)
downloadextras-54e8bf712f0fb15c4356521400b002f3d7fadd25.tar.gz
Fix misc-macro-parentheses warnings in boot_control_copy.
Bug: 28705665 Change-Id: I9a8f0bd587c70ff3c60666c9f7dfba2d6e809336
Diffstat (limited to 'boot_control_copy')
-rw-r--r--boot_control_copy/boot_control_copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot_control_copy/boot_control_copy.c b/boot_control_copy/boot_control_copy.c
index 644e7de8..73022435 100644
--- a/boot_control_copy/boot_control_copy.c
+++ b/boot_control_copy/boot_control_copy.c
@@ -92,7 +92,7 @@ int module_markBootSuccessful(boot_control_module_t *module)
return 0;
}
-#define COPY_BUF_SIZE 1024*1024
+#define COPY_BUF_SIZE (1024*1024)
static bool copy_data(int src_fd, int dst_fd, size_t num_bytes)
{