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

Commit d0bdc926 authored by Manu Gautam's avatar Manu Gautam
Browse files

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: default avatarManu Gautam <mgautam@codeaurora.org>
parent 9e2d528d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
}