diff options
author | Sihyeon Jang <uneedsihyeon@gmail.com> | 2018-12-02 00:46:03 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-12-17 14:59:40 -0300 |
commit | 75c375c0ae7cc75cec6683ee2539937c60c3e4af (patch) | |
tree | b8f531a3d9cec5c2a89629e0c964691703ccda5d /tools/perf/util/annotate.c | |
parent | c8dd6ee51a4d0a119c8b4121d83008215e3209ed (diff) |
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 <uneedsihyeon@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/20181201154603.10093-1-uneedsihyeon@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions