X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fadd_context.c;h=cf3f3efcf36f87464e5c5eb05425e6bcfccbbd8e;hp=6dc29d0670b3bb5883e7e39b39d2514107eb3b61;hb=6f04ed72990f6c72d16fd08d39feac0967da732e;hpb=98cf2db15fd1a0d073b9a5f1066e385fcccbee09 diff --git a/src/bin/lttng/commands/add_context.c b/src/bin/lttng/commands/add_context.c index 6dc29d067..cf3f3efcf 100644 --- a/src/bin/lttng/commands/add_context.c +++ b/src/bin/lttng/commands/add_context.c @@ -718,7 +718,7 @@ int cmd_add_context(int argc, const char **argv) type = zmalloc(sizeof(struct ctx_type)); if (type == NULL) { - perror("malloc ctx_type"); + PERROR("malloc ctx_type"); ret = CMD_FATAL; goto end; }