X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Ftrace-chunk.c;h=944743e0b585ba9458ba9e681aa974f80335fd56;hb=9d16fc7fa401926b800c18124756d75b11b5b806;hp=afba60b38e5c4301f8d322afb2062f1cbdfead67;hpb=c222b0167b6a89a1949875d0fe242772733c93af;p=lttng-tools.git diff --git a/src/common/trace-chunk.c b/src/common/trace-chunk.c index afba60b38..944743e0b 100644 --- a/src/common/trace-chunk.c +++ b/src/common/trace-chunk.c @@ -840,7 +840,7 @@ enum lttng_trace_chunk_status lttng_trace_chunk_open_file( chunk->credentials.value.use_current_user ? NULL : &chunk->credentials.value.user); if (ret < 0) { - ERR("Failed to open file relative to trace chunk file_path = \"%s\", flags = %d, mode = %d", + PERROR("Failed to open file relative to trace chunk file_path = \"%s\", flags = %d, mode = %d", file_path, flags, (int) mode); status = LTTNG_TRACE_CHUNK_STATUS_ERROR; goto end; @@ -1269,7 +1269,7 @@ lttng_trace_chunk_registry_publish_chunk( * * Re-attempt to publish. */ - ERR("Attemp to publish a trace chunk to the chunk registry raced with a trace chunk deletion"); + ERR("Attempt to publish a trace chunk to the chunk registry raced with a trace chunk deletion"); continue; } }