summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'trusty/storage/proxy/storage.c')
-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;