summaryrefslogtreecommitdiffstats
path: root/fastboot
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-01-09 18:59:07 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-01-09 18:59:07 +0000
commita1e27d342e05fc504ce7140463d17336c53a1af8 (patch)
tree5dab85cbe7988a6de92e7c504b53c23a02d8f586 /fastboot
parentf008571a4f3abe766dff3615b2f15bdebf13f0b0 (diff)
parente69917c59c48fe42362fc8e8aa336b6c41ecbc99 (diff)
downloadsystem_core-a1e27d342e05fc504ce7140463d17336c53a1af8.tar.gz
system_core-a1e27d342e05fc504ce7140463d17336c53a1af8.tar.bz2
system_core-a1e27d342e05fc504ce7140463d17336c53a1af8.zip
Merge "fastboot: fix log print type mismatch"
Diffstat (limited to 'fastboot')
-rw-r--r--fastboot/engine.cpp2
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) {