From: compudj Date: Sat, 11 Mar 2006 18:01:43 +0000 (+0000) Subject: fix find_hook X-Git-Tag: v0.12.20~1797 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=2d097aba294e1ce388f16b54f5b488d0d138abc8;p=lttv.git fix find_hook git-svn-id: http://ltt.polymtl.ca/svn@1692 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/lttv/tracecontext.c b/ltt/branches/poly/lttv/lttv/tracecontext.c index 37147f8c..3d28927d 100644 --- a/ltt/branches/poly/lttv/lttv/tracecontext.c +++ b/ltt/branches/poly/lttv/lttv/tracecontext.c @@ -1067,8 +1067,9 @@ event_error: g_quark_to_string(event)); goto free; facility_error: - g_error("No %s facility", g_quark_to_string(facility)); - goto free; + //Ignore this type of error : some facilities are not required. + //g_error("No %s facility", g_quark_to_string(facility)); + return -1; free: g_array_free(th->fac_index, TRUE); g_array_free(th->fac_list, TRUE);