diff options
author | Yi Kong <yikong@google.com> | 2017-12-27 13:40:49 -0800 |
---|---|---|
committer | Yi Kong <yikong@google.com> | 2017-12-27 13:42:49 -0800 |
commit | 21c515ad1c7cadd4e768d8a14679eaf48ae4f184 (patch) | |
tree | 1f1d2bea5316942c21f27bec7c6cfdc1fada4133 /trusty/storage | |
parent | 93d344d98cd02d66c3aac8067718be828ea283f9 (diff) | |
download | core-21c515ad1c7cadd4e768d8a14679eaf48ae4f184.tar.gz core-21c515ad1c7cadd4e768d8a14679eaf48ae4f184.tar.bz2 core-21c515ad1c7cadd4e768d8a14679eaf48ae4f184.zip |
Use correct format specifier
Discovered by the upcoming compiler update.
Test: m checkbuild
Change-Id: I8dd4bb711bfa4f4b71a3345a2ee38f689cee5257
Diffstat (limited to 'trusty/storage')
-rw-r--r-- | trusty/storage/proxy/storage.c | 2 |
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, } if (req->size > MAX_READ_SIZE) { - ALOGW("%s: request is too large (%zd > %zd) - refusing\n", + ALOGW("%s: request is too large (%u > %d) - refusing\n", __func__, req->size, MAX_READ_SIZE); msg->result = STORAGE_ERR_NOT_VALID; goto err_response; |