projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Fix self-assign warning on struct ustfork_clone_info init
[lttng-ust.git]
/
liblttng-ust-fork
/
ustfork.c
diff --git
a/liblttng-ust-fork/ustfork.c
b/liblttng-ust-fork/ustfork.c
index af7a6afa32283ed915c3664e3f510cd7062a9e2b..b943e248eb983d2edb3a0b18e2baf171a89811ef 100644
(file)
--- a/
liblttng-ust-fork/ustfork.c
+++ b/
liblttng-ust-fork/ustfork.c
@@
-135,7
+135,7
@@
int clone(int (*fn)(void *), void *child_stack, int flags, void *arg, ...)
tls, ctid);
} else {
/* Creating a real process, we need to intervene. */
tls, ctid);
} else {
/* Creating a real process, we need to intervene. */
- struct ustfork_clone_info info = {
fn = fn,
arg = arg };
+ struct ustfork_clone_info info = {
.fn = fn, .
arg = arg };
ust_before_fork(&info.sigset);
retval = plibc_func(clone_fn, child_stack, flags, &info,
ust_before_fork(&info.sigset);
retval = plibc_func(clone_fn, child_stack, flags, &info,
This page took
0.033543 seconds
and
4
git commands to generate.