projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: configure.ac should use "--target", not "--host"
[lttng-ust.git]
/
liblttng-ust
/
ltt-probes.c
diff --git
a/liblttng-ust/ltt-probes.c
b/liblttng-ust/ltt-probes.c
index d04ce2215a4e2db6b1765d328910565b30341ed7..aeb6db65224340a311ca320142b841800b9e9772 100644
(file)
--- a/
liblttng-ust/ltt-probes.c
+++ b/
liblttng-ust/ltt-probes.c
@@
-390,9
+390,10
@@
void ltt_probes_create_wildcard_events(struct wildcard_entry *entry,
memcpy(&event_param, &wildcard->event_param,
sizeof(event_param));
memcpy(&event_param, &wildcard->event_param,
sizeof(event_param));
-
mem
cpy(event_param.name,
+
strn
cpy(event_param.name,
event_desc->name,
sizeof(event_param.name));
event_desc->name,
sizeof(event_param.name));
+ event_param.name[sizeof(event_param.name) - 1] = '\0';
/* create event */
ret = ltt_event_create(wildcard->chan,
&event_param, &ev);
/* create event */
ret = ltt_event_create(wildcard->chan,
&event_param, &ev);
This page took
0.024879 seconds
and
4
git commands to generate.