From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bartlomiej Sieka Date: Wed, 20 Feb 2008 18:20:02 +0100 Subject: [U-Boot-Users] [PATCH 2/6] [libfdt] Fix compilation errors is fdt_support.c In-Reply-To: <20080220171950.25624.71201.stgit@pollux.denx.de> References: <20080220171950.25624.71201.stgit@pollux.denx.de> Message-ID: <20080220172002.25624.109.stgit@pollux.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Marian Balakowicz fdt_support.c does not compile with the DEBUG enabled, correct arguments passed to debug() calls. Signed-off-by: Marian Balakowicz --- common/fdt_support.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/fdt_support.c b/common/fdt_support.c index a13c140..628bbdd 100644 --- a/common/fdt_support.c +++ b/common/fdt_support.c @@ -418,7 +418,7 @@ void do_fixup_by_path(void *fdt, const char *path, const char *prop, { #if defined(DEBUG) int i; - debug("Updating property '%s/%s' = ", node, prop); + debug("Updating property %s, path '%s' = ", prop, path); for (i = 0; i < len; i++) debug(" %.2x", *(u8*)(val+i)); debug("\n"); @@ -444,7 +444,7 @@ void do_fixup_by_prop(void *fdt, int off; #if defined(DEBUG) int i; - debug("Updating property '%s/%s' = ", node, prop); + debug("Updating property '%s', pname '%s' = ", prop, pname); for (i = 0; i < len; i++) debug(" %.2x", *(u8*)(val+i)); debug("\n"); @@ -471,7 +471,7 @@ void do_fixup_by_compat(void *fdt, const char *compat, int off = -1; #if defined(DEBUG) int i; - debug("Updating property '%s/%s' = ", node, prop); + debug("Updating property '%s', compat '%s' = ", prop, compat); for (i = 0; i < len; i++) debug(" %.2x", *(u8*)(val+i)); debug("\n");