Fix: add missing refcount of loaded modules
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Mon, 21 Nov 2016 17:36:00 +0000 (12:36 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 21 Nov 2016 17:54:37 +0000 (12:54 -0500)
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
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.026147 seconds and 4 git commands to generate.