commit | c7e73c2d82eb8abb8e0ccbb585be9f52f05f44d5 | [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 | acf183f58ca8b1881f9fc8dcd44bcc842fcdc7ac [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) {