super-intel.c: use %zu specifier for printf of size_t
Fix compile warning when size_t is not a long. Acked-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Luca Berra <bluca@vodka.it> Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
parent
c3e1a50fcb
commit
cf1be220e2
|
@ -4076,7 +4076,7 @@ static struct mdinfo *container_content_imsm(struct supertype *st)
|
|||
|
||||
this = malloc(sizeof(*this));
|
||||
if (!this) {
|
||||
fprintf(stderr, Name ": failed to allocate %lu bytes\n",
|
||||
fprintf(stderr, Name ": failed to allocate %zu bytes\n",
|
||||
sizeof(*this));
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue