Em Sun, Dec 02, 2018 at 12:46:03AM +0900, Sihyeon Jang escreveu:
> 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)
Thanks, applied.
- Arnaldo
> Cc
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)
Cc: Jiri Olsa
Cc: Namhyung Kim
Signed-off-by: Sihyeon Jang
---
tools/perf/util/config.c | 4 ++--
1 fil
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)
Cc: Jiri Olsa
Cc: Namhyung Kim
Signed-off-by: Sihyeon Jang
---
tools/perf/util/config.c | 4 ++--
1 fil
3 matches
Mail list logo