projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Handle EINTR of waitpid when spawning a session daemon
[lttng-tools.git]
/
src
/
common
/
kernel-ctl
/
kernel-ctl.c
diff --git
a/src/common/kernel-ctl/kernel-ctl.c
b/src/common/kernel-ctl/kernel-ctl.c
index 28ed06cbdaa50b5494c698b296e1bc576cdcfd6c..18cd95529cfef620d1e6305de0d88e2572fe147f 100644
(file)
--- a/
src/common/kernel-ctl/kernel-ctl.c
+++ b/
src/common/kernel-ctl/kernel-ctl.c
@@
-112,6
+112,7
@@
int kernctl_create_channel(int fd, struct lttng_channel_attr *chops)
{
struct lttng_kernel_channel channel;
{
struct lttng_kernel_channel channel;
+ memset(&channel, 0, sizeof(channel));
if (lttng_kernel_use_old_abi) {
struct lttng_kernel_old_channel old_channel;
if (lttng_kernel_use_old_abi) {
struct lttng_kernel_old_channel old_channel;
This page took
0.025413 seconds
and
4
git commands to generate.