Browse Source

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

Signed-off-by: Jon Loeliger <jdl@freescale.com>
main
Jon Loeliger 17 years ago
parent
commit
afa8c2e1d7
  1. 2
      tests/get_name.c

2
tests/get_name.c

@ -54,7 +54,7 @@ void check_name(void *fdt, const char *path)
path, getname, checkname); path, getname, checkname);


if (len != strlen(getname)) 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)); path, len, strlen(getname));


/* Now check that it doesn't break if we omit len */ /* Now check that it doesn't break if we omit len */

Loading…
Cancel
Save