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:53:56 +0000 (12:53 -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 05027404e42587cc9abbe34c57c4f8722a68a127..03545ef41d25b0acf21a5681431daf5d16e99794 100644 (file)
@@ -343,7 +343,7 @@ static int modprobe_lttng(struct kern_modules_param *modules,
                        }
                } else {
                        DBG("Modprobe successfully %s", modules[i].name);
                        }
                } else {
                        DBG("Modprobe successfully %s", modules[i].name);
-                       modules[i].loaded;
+                       modules[i].loaded = true;
                }
        }
 
                }
        }
 
This page took 0.034257 seconds and 4 git commands to generate.