X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Ftrace-chunk.c;h=944743e0b585ba9458ba9e681aa974f80335fd56;hp=20dbd0a5ea933a853d328332d4c04def960fd917;hb=625f36cc252f22dc030a20b3abded09a6712ad9b;hpb=3d0bbd40fe75966a80942d24c212b357d787767b diff --git a/src/common/trace-chunk.c b/src/common/trace-chunk.c index 20dbd0a5e..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;