trace-cmd: Fix plist allocation check in trace-msg.c

The plist allocation check in get_trace_req_protos() returns error on a
successful allocation. Fix it.

Link: https://lore.kernel.org/linux-trace-devel/20210203165431.792152a4@gandalf.local.home

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
1 file changed