From 21c515ad1c7cadd4e768d8a14679eaf48ae4f184 Mon Sep 17 00:00:00 2001 From: Yi Kong Date: Wed, 27 Dec 2017 13:40:49 -0800 Subject: Use correct format specifier Discovered by the upcoming compiler update. Test: m checkbuild Change-Id: I8dd4bb711bfa4f4b71a3345a2ee38f689cee5257 --- trusty/storage/proxy/storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trusty') 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; -- cgit v1.2.3