tools: rockchip: boot/trust_merge: fix '--replace" missing append new path
Change-Id: Icddfb2ce9c7ba6f4b4e558eb5833ba79d0e7b976 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
parent
2bbbd780f8
commit
45c2a034cd
|
|
@ -141,6 +141,7 @@ static inline void fixPath(char *path)
|
|||
strcpy(tmp, end);
|
||||
/* Terminate, so path can be dest for strcat() */
|
||||
*start = '\0';
|
||||
strcat(path, gNewPath);
|
||||
strcat(path, tmp);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -102,6 +102,7 @@ static inline void fixPath(char *path)
|
|||
strcpy(tmp, end);
|
||||
/* Terminate, so path can be dest for strcat() */
|
||||
*start = '\0';
|
||||
strcat(path, gNewPath);
|
||||
strcat(path, tmp);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue