#include <sys/types.h>
#include <urcu.h>
+#include <common/common.h>
#include <common/sessiond-comm/sessiond-comm.h>
-#include <common/runas.h>
-#include <common/lttngerr.h>
-#include <common/lttng-share.h>
#include "session.h"
if (ret < 0) {
if (ret != -EEXIST) {
ERR("Trace directory creation error");
- ret = LTTCOMM_CREATE_FAIL;
+ ret = LTTCOMM_CREATE_DIR_FAIL;
goto error;
}
}