[Crosstoolchain-logs] [device-tree-compiler] 10/357: Fix bug in error message.

Hector Oron zumbi at moszumanska.debian.org
Thu Dec 8 17:05:42 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 7ee3ffd43f6b45178c5e73e9b666a836ee333143
Author: David Gibson <dgibson at sneetch.(none)>
Date:   Mon Jul 11 16:45:57 2005 +1000

    Fix bug in error message.
---
 flattree.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/flattree.c b/flattree.c
index 2b8efdd..6d08c41 100644
--- a/flattree.c
+++ b/flattree.c
@@ -518,7 +518,8 @@ static char *flat_read_stringtable(struct inbuf *inb, int offset)
 	p = inb->base + offset;
 	while (1) {
 		if (p >= inb->limit)
-			die("String offset %d overruns string table\n");
+			die("String offset %d overruns string table\n",
+			    offset);
 
 		if (*p == '\0')
 			break;

-- 
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