[Crosstoolchain-logs] [device-tree-compiler] 163/357: Appease the printf() format $Gods with a correct type.

Hector Oron zumbi at moszumanska.debian.org
Thu Dec 8 17:06:09 UTC 2016


This is an automated email from the git hooks/post-receive script.

zumbi pushed a commit to branch upstream/1.3.x
in repository device-tree-compiler.

commit afa8c2e1d755f1f963e3ebe1fed01e49f6b16515
Author: Jon Loeliger <jdl at freescale.com>
Date:   Thu Oct 18 09:49:45 2007 -0500

    Appease the printf() format $Gods with a correct type.
    
    Signed-off-by: Jon Loeliger <jdl at freescale.com>
---
 tests/get_name.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/get_name.c b/tests/get_name.c
index 2481741..22003b4 100644
--- a/tests/get_name.c
+++ b/tests/get_name.c
@@ -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 */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/device-tree-compiler.git



More information about the Crosstoolchain-logs mailing list