diff options
author | Changrong Jin <jinchangrong@huawei.com> | 2018-01-09 11:29:54 +0800 |
---|---|---|
committer | liuchao <liuchao741@huawei.com> | 2018-01-09 11:29:54 +0800 |
commit | e69917c59c48fe42362fc8e8aa336b6c41ecbc99 (patch) | |
tree | 59fe0129524255a7c1b8ded5c9bc702325f5cdaf /fastboot/engine.cpp | |
parent | 01ccde321f01a3acc7f61954861759b150aa9639 (diff) |
fastboot: fix log print type mismatch
Test: mma -j8
Change-Id: I8b4373f4a044b802fc9f1dd4f998e880f7843b4a
Diffstat (limited to 'fastboot/engine.cpp')
-rw-r--r-- | fastboot/engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fastboot/engine.cpp b/fastboot/engine.cpp index 7e10cc9bf..271b792df 100644 --- a/fastboot/engine.cpp +++ b/fastboot/engine.cpp @@ -114,7 +114,7 @@ static Action *queue_action(unsigned op, const char *fmt, ...) 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) { |