Appease the printf() format $Gods with a correct type.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
This commit is contained in:
Jon Loeliger
2007-10-18 09:49:45 -05:00
parent 7dfba39a23
commit afa8c2e1d7

View File

@@ -54,7 +54,7 @@ void check_name(void *fdt, const char *path)
path, getname, checkname);
if (len != strlen(getname))
FAIL("fdt_get_name(%s) returned length %d instead of %d",
FAIL("fdt_get_name(%s) returned length %d instead of %zd",
path, len, strlen(getname));
/* Now check that it doesn't break if we omit len */