Fix: add missing refcount of loaded modules
[lttng-tools.git] / src / bin / lttng-sessiond / modprobe.c
index 347829d5dbdd09c29bcd605e9b88e671be827394..b64a0dc8389ed2e44a5736197e3579f8914360ca 100644 (file)
@@ -342,7 +342,7 @@ static int modprobe_lttng(struct kern_modules_param *modules,
                        }
                } else {
                        DBG("Modprobe successfully %s", modules[i].name);
-                       modules[i].loaded;
+                       modules[i].loaded = true;
                }
        }
 
This page took 0.024037 seconds and 4 git commands to generate.