perf config: Modify size factor of snprintf
authorSihyeon Jang <uneedsihyeon@gmail.com>
Sat, 1 Dec 2018 15:46:03 +0000 (00:46 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 17 Dec 2018 17:59:40 +0000 (14:59 -0300)
commit75c375c0ae7cc75cec6683ee2539937c60c3e4af
treeb8f531a3d9cec5c2a89629e0c964691703ccda5d
parentc8dd6ee51a4d0a119c8b4121d83008215e3209ed
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>
tools/perf/util/config.c