[lttng-dev] [PATCH lttng-tools] Fix: add missing refcount of loaded modules
Francis Deslauriers
francis.deslauriers at efficios.com
Mon Nov 21 17:36:00 UTC 2016
Signed-off-by: Francis Deslauriers <francis.deslauriers at efficios.com>
---
src/bin/lttng-sessiond/modprobe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bin/lttng-sessiond/modprobe.c b/src/bin/lttng-sessiond/modprobe.c
index 0502740..03545ef 100644
--- a/src/bin/lttng-sessiond/modprobe.c
+++ b/src/bin/lttng-sessiond/modprobe.c
@@ -343,7 +343,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;
}
}
--
2.7.4
More information about the lttng-dev
mailing list