commit | e69917c59c48fe42362fc8e8aa336b6c41ecbc99 | [log] [tgz] |
---|---|---|
author | Changrong Jin <jinchangrong@huawei.com> | Tue Jan 09 11:29:54 2018 +0800 |
committer | liuchao <liuchao741@huawei.com> | Tue Jan 09 11:29:54 2018 +0800 |
tree | 59fe0129524255a7c1b8ded5c9bc702325f5cdaf | |
parent | 01ccde321f01a3acc7f61954861759b150aa9639 [diff] |
fastboot: fix log print type mismatch Test: mma -j8 Change-Id: I8b4373f4a044b802fc9f1dd4f998e880f7843b4a
diff --git a/fastboot/engine.cpp b/fastboot/engine.cpp index 7e10cc9..271b792 100644 --- a/fastboot/engine.cpp +++ b/fastboot/engine.cpp
@@ -114,7 +114,7 @@ if (cmdsize >= sizeof(a->cmd)) { free(a); - die("Command length (%d) exceeds maximum size (%d)", cmdsize, sizeof(a->cmd)); + die("Command length (%zu) exceeds maximum size (%zu)", cmdsize, sizeof(a->cmd)); } if (action_last) {