Fix: trace-chunk: log the cause of file open failures
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 29 Oct 2019 19:57:59 +0000 (15:57 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 29 Oct 2019 19:57:59 +0000 (15:57 -0400)
commit625f36cc252f22dc030a20b3abded09a6712ad9b
tree8cd92365f67b9a20e273023e2933c04ed211e917
parent3d0bbd40fe75966a80942d24c212b357d787767b
Fix: trace-chunk: log the cause of file open failures

Use the PERROR macro instead of ERR to obtain the "errno" message
when an error occurs while opening a file relative to a trace
chunk.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/trace-chunk.c
This page took 0.033234 seconds and 4 git commands to generate.