summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b66a15d)
This reverts commit
fc1465822a1075d98160bb74ae8e974ac8c010a8 as it
broke the 'lttng view' command on live sessions. The original commit
was meant to fix a warning, but it was (evidently) not an appropriate
change.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
- memcpy(argv, opts, opts_len);
+ memcpy(argv, opts, size);
if (session_live_mode) {
argv[opts_len] = "-i";
if (session_live_mode) {
argv[opts_len] = "-i";