From: Jérémie Galarneau Date: Tue, 11 Aug 2020 16:22:19 +0000 (-0400) Subject: Clean-up: utils: change space to tabs X-Git-Tag: v2.13.0-rc1~537 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d6d89e4c97ca12219003f576d145ea667c87badb;p=lttng-tools.git Clean-up: utils: change space to tabs Signed-off-by: Jérémie Galarneau Change-Id: I67341c2a849c340fc56cc03dbca9daaf7c9eddb1 --- diff --git a/src/common/utils.c b/src/common/utils.c index d6c67bb0f..a068e410b 100644 --- a/src/common/utils.c +++ b/src/common/utils.c @@ -736,7 +736,7 @@ int utils_stream_file_path(const char *path_name, const char *file_name, char *out_stream_path, size_t stream_path_len) { int ret; - char count_str[MAX_INT_DEC_LEN(count) + 1] = {}; + char count_str[MAX_INT_DEC_LEN(count) + 1] = {}; const char *path_separator; if (path_name && (path_name[0] == '\0' || @@ -754,7 +754,7 @@ int utils_stream_file_path(const char *path_name, const char *file_name, assert(ret > 0 && ret < sizeof(count_str)); } - ret = snprintf(out_stream_path, stream_path_len, "%s%s%s%s%s", + ret = snprintf(out_stream_path, stream_path_len, "%s%s%s%s%s", path_name, path_separator, file_name, count_str, suffix); if (ret < 0 || ret >= stream_path_len) {