projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf jit: Add missing curly braces
[cascardo/linux.git]
/
tools
/
perf
/
jvmti
/
jvmti_agent.c
diff --git
a/tools/perf/jvmti/jvmti_agent.c
b/tools/perf/jvmti/jvmti_agent.c
index
3573f31
..
91bf333
100644
(file)
--- a/
tools/perf/jvmti/jvmti_agent.c
+++ b/
tools/perf/jvmti/jvmti_agent.c
@@
-491,10
+491,11
@@
jvmti_write_debug_info(void *agent, uint64_t code, const char *file,
if (sret != 1)
goto error;
}
- if (padding_count)
+ if (padding_count)
{
sret = fwrite_unlocked(pad_bytes, padding_count, 1, fp);
if (sret != 1)
goto error;
+ }
funlockfile(fp);
return 0;