projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dtoc: Handle nodes with phandles that depend on the same
[platform/kernel/u-boot.git]
/
tools
/
relocate-rela.c
diff --git
a/tools/relocate-rela.c
b/tools/relocate-rela.c
index
3c9d134
..
df968eb
100644
(file)
--- a/
tools/relocate-rela.c
+++ b/
tools/relocate-rela.c
@@
-27,9
+27,11
@@
static void debug(const char *fmt, ...)
{
va_list args;
- va_start(args, fmt);
- if (debug_en)
+ if (debug_en) {
+ va_start(args, fmt);
vprintf(fmt, args);
+ va_end(args);
+ }
}
static bool supported_rela(Elf64_Rela *rela)