trace-cmd: Fix sizeof print warnings

The return type of sizeof() operator and strlen() function is size_t,
which is machine specific. When printing these values with printf, a
dedicated 'z' specifier should be used, to avoid compile warnings.

Link: https://lore.kernel.org/linux-trace-devel/20211116044651.142224-1-tz.stoyanov@gmail.com

Fixes: 064bcd390 ("trace-cmd: Implement new sub-command "dump"")
Reported-by: Alan Mikhak <amikhak@wirelessfabric.com>
Signed-off-by: Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
1 file changed