USB: gadget: f_fs: Use %zu when printing size_t

Using %lu for size_t gives compilation error on 32bit system.
Replace this with %zu which should be used to print size_t on
both 32bit and 64bit machines.

Change-Id: Id8a42dec3e081187054cb2353ba3473bae9dd547
CRs-fixed: 1069970
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
This commit is contained in:
Manu Gautam 2016-09-22 16:34:27 +05:30
parent 9e2d528dc4
commit d0bdc926c4

View file

@ -2275,7 +2275,7 @@ static int __ffs_do_os_desc_header(enum ffs_os_desc_type *next_type,
return -EINVAL;
}
ffs_log("exit: size of desc %lu", sizeof(*desc));
ffs_log("exit: size of desc %zu", sizeof(*desc));
return sizeof(*desc);
}