X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Futils.cpp;h=6ea98ec7cea8ea15c59b05a283764a3ce4d44982;hb=28ab034a2c3582d07d3423d2d746731f87d3969f;hp=599f7ff819f3cf4855ca9f7b47ae27d6343c0493;hpb=ac497a37018f3c253d2e50397294f58d33f7f24f;p=lttng-tools.git diff --git a/src/bin/lttng-relayd/utils.cpp b/src/bin/lttng-relayd/utils.cpp index 599f7ff81..6ea98ec7c 100644 --- a/src/bin/lttng-relayd/utils.cpp +++ b/src/bin/lttng-relayd/utils.cpp @@ -7,17 +7,18 @@ */ #define _LGPL_SOURCE +#include "lttng-relayd.hpp" +#include "utils.hpp" + +#include +#include +#include +#include + #include #include #include -#include -#include -#include - -#include "lttng-relayd.h" -#include "utils.h" - static char *create_output_path_auto(const char *path_name) { int ret; @@ -30,8 +31,7 @@ static char *create_output_path_auto(const char *path_name) Please specify an output path using -o, --output PATH"); goto exit; } - ret = asprintf(&traces_path, "%s/" DEFAULT_TRACE_DIR_NAME - "/%s", default_path, path_name); + ret = asprintf(&traces_path, "%s/" DEFAULT_TRACE_DIR_NAME "/%s", default_path, path_name); if (ret < 0) { PERROR("asprintf trace dir name"); goto exit;