Use correct format specifier

Discovered by the upcoming compiler update.

Test: m checkbuild
Change-Id: I8dd4bb711bfa4f4b71a3345a2ee38f689cee5257
This commit is contained in:
Yi Kong 2017-12-27 13:40:49 -08:00
parent 93d344d98c
commit 21c515ad1c
1 changed files with 1 additions and 1 deletions

View File

@ -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;