projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cmd.c: fix typos in snapshot commands
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
snapshot.c
diff --git
a/src/bin/lttng-sessiond/snapshot.c
b/src/bin/lttng-sessiond/snapshot.c
index 4c23ee424292176032da37d2a57fa9cd21e3ec5e..d22b5d52c98b730d122d91605c0f6851ef578c61 100644
(file)
--- a/
src/bin/lttng-sessiond/snapshot.c
+++ b/
src/bin/lttng-sessiond/snapshot.c
@@
-47,6
+47,8
@@
static int output_init(uint64_t max_size, const char *name,
assert(output);
+ memset(output, 0, sizeof(struct snapshot_output));
+
if (max_size == (uint64_t) -1ULL) {
max_size = 0;
}
This page took
0.024245 seconds
and
4
git commands to generate.