diff options
author | Luca Berra <bluca@comedia.it> | 2010-01-30 10:59:29 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-02-01 09:15:35 +1100 |
commit | cf1be220e276285bda849e3d8f924fca6322fc05 (patch) | |
tree | 2b8934eaf4ffbde6ff4f34f63750d51ece06e3ff /super-intel.c | |
parent | c3e1a50fcb535f133cfd50302c20af4b52328b65 (diff) | |
download | mdadm-cf1be220e276285bda849e3d8f924fca6322fc05.tar.gz mdadm-cf1be220e276285bda849e3d8f924fca6322fc05.tar.xz mdadm-cf1be220e276285bda849e3d8f924fca6322fc05.zip |
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>
Diffstat (limited to 'super-intel.c')
-rw-r--r-- | super-intel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/super-intel.c b/super-intel.c index fcf438c..91479a2 100644 --- a/super-intel.c +++ b/super-intel.c @@ -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; } |