X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=lttng-abi.c;fp=lttng-abi.c;h=64af55fb24938db7491a39483dd2071d0c7ede3d;hb=e6e65fcdf8fa05271dc21392cb56091d5c2eeb81;hp=261a0ad3f8a1bf0ae4af6e76c9a2a246115589b4;hpb=b879262bf1a40fa863eb6be47a6ccf68febc493e;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);