From: Pierre-Marc Fournier Date: Wed, 16 Sep 2009 04:54:10 +0000 (-0400) Subject: fix warning X-Git-Tag: v1.9.1~910 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=036db133a4f44c5d8b15ab1a63917af60746305c;p=lttng-ust.git fix warning --- diff --git a/libust/tracectl.c b/libust/tracectl.c index 47ca7407..3c50304a 100644 --- a/libust/tracectl.c +++ b/libust/tracectl.c @@ -1116,7 +1116,7 @@ void ust_fork(void) result = ltt_trace_set_type("auto", "ustrelay"); if(result < 0) { ERR("ltt_trace_set_type failed"); - return (void *)1; + return; } ltt_trace_alloc("auto");