Cleanup: Replace all perror() uses by the PERROR macro
[lttng-tools.git] / src / bin / lttng / commands / add_context.c
index 6dc29d0670b3bb5883e7e39b39d2514107eb3b61..cf3f3efcf36f87464e5c5eb05425e6bcfccbbd8e 100644 (file)
@@ -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;
                        }
This page took 0.023089 seconds and 4 git commands to generate.