X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-abi.c;h=2b673776b44ce2e2a36c2567668ec297e1d99bd3;hb=255e52a4f2d85eee50e5cde6436279ef74e61996;hp=d15e3f83a66a68af207820b0c5f6770ba67d12b5;hpb=4976f9ad1fdbe7bf7331962af6e59e7c47f61955;p=lttng-modules.git diff --git a/lttng-abi.c b/lttng-abi.c index d15e3f83..2b673776 100644 --- a/lttng-abi.c +++ b/lttng-abi.c @@ -752,7 +752,7 @@ int __init lttng_abi_init(void) lttng_proc_dentry = proc_create_data("lttng", S_IWUSR, NULL, <tng_fops, NULL); - if (lttng_proc_dentry) { + if (!lttng_proc_dentry) { printk(KERN_ERR "Error creating LTTng control file\n"); ret = -ENOMEM; goto error;