X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-abi.c;h=64af55fb24938db7491a39483dd2071d0c7ede3d;hb=54c4c2e32771791ed5e84e2f8c100339bde7b77e;hp=261a0ad3f8a1bf0ae4af6e76c9a2a246115589b4;hpb=dd5a0db3ea07c46bee3c1814ef7326736f38a06e;p=lttng-modules.git diff --git a/lttng-abi.c b/lttng-abi.c index 261a0ad3..64af55fb 100644 --- a/lttng-abi.c +++ b/lttng-abi.c @@ -1555,7 +1555,8 @@ error: return ret; } -void __exit lttng_abi_exit(void) +/* No __exit annotation because used by init error path too. */ +void lttng_abi_exit(void) { if (lttng_proc_dentry) remove_proc_entry("lttng", NULL);