X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fft_build.c;h=b5937e35f7abe1abff3cf262bd76140fa03c1ef0;hb=2f15776ccc6dc32377d8ba9652b8f58059c27c6d;hp=b5a997c1ba5ed514cdb1e1e9650bd4757c938b1f;hpb=34c3c0e01dbf1f8cc2bd08de92f2b89ba84921eb;p=u-boot diff --git a/common/ft_build.c b/common/ft_build.c index b5a997c1ba..b5937e35f7 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* */