X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fpoll.h;h=9f59d35c3c84faf821f1237416d743f1412bb2e1;hp=f892c832333eb10bdfcc4cf64d66918c17d3ab02;hb=6f04ed72990f6c72d16fd08d39feac0967da732e;hpb=178a055717baca3641cecbb45fe3c0d5d3286a3a diff --git a/src/common/compat/poll.h b/src/common/compat/poll.h index f892c8323..9f59d35c3 100644 --- a/src/common/compat/poll.h +++ b/src/common/compat/poll.h @@ -217,7 +217,7 @@ static inline void lttng_poll_clean(struct lttng_poll_event *events) if (events->epfd >= 0) { ret = close(events->epfd); if (ret) { - perror("close"); + PERROR("close"); } }