Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 21c515ad authored by Yi Kong's avatar Yi Kong
Browse files

Use correct format specifier

Discovered by the upcoming compiler update.

Test: m checkbuild
Change-Id: I8dd4bb711bfa4f4b71a3345a2ee38f689cee5257
parent 93d344d9
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -379,7 +379,7 @@ int storage_file_read(struct storage_msg *msg,
    }
    }


    if (req->size > MAX_READ_SIZE) {
    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);
              __func__, req->size, MAX_READ_SIZE);
        msg->result = STORAGE_ERR_NOT_VALID;
        msg->result = STORAGE_ERR_NOT_VALID;
        goto err_response;
        goto err_response;