diff options
| author | Sihyeon Jang <[email protected]> | 2018-12-01 15:46:03 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-12-17 17:59:40 +0000 |
| commit | 75c375c0ae7cc75cec6683ee2539937c60c3e4af (patch) | |
| tree | b8f531a3d9cec5c2a89629e0c964691703ccda5d /tools/perf/util/annotate.c | |
| parent | perf record: Fix memory leak on AIO objects deallocation (diff) | |
| download | kernel-75c375c0ae7cc75cec6683ee2539937c60c3e4af.tar.gz kernel-75c375c0ae7cc75cec6683ee2539937c60c3e4af.zip | |
perf config: Modify size factor of snprintf
According to definition of snprintf, it gets size factor including
null('\0') byte. So '-1' is not neccessary. Also it will be helpful
unfied style with other cases. (eg. builtin-script.c)
Signed-off-by: Sihyeon Jang <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions
