projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement --shm-path option for UST sessions (per-uid channels)
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
add_context.c
diff --git
a/src/bin/lttng/commands/add_context.c
b/src/bin/lttng/commands/add_context.c
index 1ba13bfd751e3a425705cf371da4f0827bc9f42a..cf3f3efcf36f87464e5c5eb05425e6bcfccbbd8e 100644
(file)
--- a/
src/bin/lttng/commands/add_context.c
+++ b/
src/bin/lttng/commands/add_context.c
@@
-716,9
+716,9
@@
int cmd_add_context(int argc, const char **argv)
goto end;
}
goto end;
}
- type = malloc(sizeof(struct ctx_type));
+ type =
z
malloc(sizeof(struct ctx_type));
if (type == NULL) {
if (type == NULL) {
-
perror
("malloc ctx_type");
+
PERROR
("malloc ctx_type");
ret = CMD_FATAL;
goto end;
}
ret = CMD_FATAL;
goto end;
}
This page took
0.025718 seconds
and
5
git commands to generate.