summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2006-08-29 08:47:20 -0500
committerJon Loeliger <jdl@freescale.com>2006-08-29 08:47:20 -0500
commitb5338b23a15779204cccb0706c06087b86c22f07 (patch)
tree4f5aff122334989f69f5e741135f1bd23ff1eb85 /common
parent3a25220822c41e7a8f4f50832a0ef91510490513 (diff)
parent2f15776ccc6dc32377d8ba9652b8f58059c27c6d (diff)
downloadu-boot-imx-b5338b23a15779204cccb0706c06087b86c22f07.zip
u-boot-imx-b5338b23a15779204cccb0706c06087b86c22f07.tar.gz
u-boot-imx-b5338b23a15779204cccb0706c06087b86c22f07.tar.bz2
Merge branch 'mpc85xx'
Diffstat (limited to 'common')
-rw-r--r--common/ft_build.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/ft_build.c b/common/ft_build.c
index b5a997c..b5937e3 100644
--- a/common/ft_build.c
+++ b/common/ft_build.c
@@ -103,7 +103,7 @@ void ft_prop(struct ft_cxt *cxt, const char *name, const void *data, int sz)
if (off == -1) {
memcpy(cxt->p_end, name, strlen(name) + 1);
off = cxt->p_end - cxt->p;
- cxt->p_end += strlen(name) + 2;
+ cxt->p_end += strlen(name) + 1;
}
/* now put offset from beginning of *STRUCTURE* */