From: Nils Carlson Date: Fri, 25 Feb 2011 08:39:03 +0000 (+0100) Subject: ustctl: fix a broken format string X-Git-Tag: v0.12~23 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=3b66c3511f7e1819158f10a600856ecfb2b9694e;p=ust.git ustctl: fix a broken format string Signed-off-by: Nils Carlson --- diff --git a/ustctl/trace_cmds.c b/ustctl/trace_cmds.c index 74e4660..a8f3a9c 100644 --- a/ustctl/trace_cmds.c +++ b/ustctl/trace_cmds.c @@ -30,7 +30,7 @@ static int create_trace(int argc, char *argv[]) sock = parse_and_connect_pid(argv[1]); if (ustctl_create_trace(sock, argv[2])) { - ERR("Failed to create trace %s for PID %u\n", argv[2], argv[1]); + ERR("Failed to create trace %s for PID %s\n", argv[2], argv[1]); return -1; }