summaryrefslogtreecommitdiffstats
path: root/trusty
diff options
context:
space:
mode:
authorYi Kong2017-12-27 15:40:49 -0600
committerYi Kong2017-12-27 15:42:49 -0600
commit21c515ad1c7cadd4e768d8a14679eaf48ae4f184 (patch)
tree1f1d2bea5316942c21f27bec7c6cfdc1fada4133 /trusty
parent93d344d98cd02d66c3aac8067718be828ea283f9 (diff)
downloadplatform-system-core-21c515ad1c7cadd4e768d8a14679eaf48ae4f184.tar.gz
platform-system-core-21c515ad1c7cadd4e768d8a14679eaf48ae4f184.tar.xz
platform-system-core-21c515ad1c7cadd4e768d8a14679eaf48ae4f184.zip
Use correct format specifier
Discovered by the upcoming compiler update. Test: m checkbuild Change-Id: I8dd4bb711bfa4f4b71a3345a2ee38f689cee5257
Diffstat (limited to 'trusty')
-rw-r--r--trusty/storage/proxy/storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trusty/storage/proxy/storage.c b/trusty/storage/proxy/storage.c
index c61e89d78..5b83e2141 100644
--- a/trusty/storage/proxy/storage.c
+++ b/trusty/storage/proxy/storage.c
@@ -379,7 +379,7 @@ int storage_file_read(struct storage_msg *msg,
379 } 379 }
380 380
381 if (req->size > MAX_READ_SIZE) { 381 if (req->size > MAX_READ_SIZE) {
382 ALOGW("%s: request is too large (%zd > %zd) - refusing\n", 382 ALOGW("%s: request is too large (%u > %d) - refusing\n",
383 __func__, req->size, MAX_READ_SIZE); 383 __func__, req->size, MAX_READ_SIZE);
384 msg->result = STORAGE_ERR_NOT_VALID; 384 msg->result = STORAGE_ERR_NOT_VALID;
385 goto err_response; 385 goto err_response;