X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Futils.cpp;h=6ea98ec7cea8ea15c59b05a283764a3ce4d44982;hp=ccfc3a92a745f85a68848556f78529f47ebc2a9e;hb=28ab034a2c3582d07d3423d2d746731f87d3969f;hpb=52e345b9ac912d033c2a2c25a170a01cf209839d diff --git a/src/bin/lttng-relayd/utils.cpp b/src/bin/lttng-relayd/utils.cpp index ccfc3a92a..6ea98ec7c 100644 --- a/src/bin/lttng-relayd/utils.cpp +++ b/src/bin/lttng-relayd/utils.cpp @@ -7,17 +7,17 @@ */ #define _LGPL_SOURCE -#include -#include -#include +#include "lttng-relayd.hpp" +#include "utils.hpp" #include #include -#include #include +#include -#include "lttng-relayd.hpp" -#include "utils.hpp" +#include +#include +#include static char *create_output_path_auto(const char *path_name) { @@ -31,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;