Cleanup: Replace all perror() uses by the PERROR macro
[lttng-tools.git] / src / common / compat / poll.h
index f892c832333eb10bdfcc4cf64d66918c17d3ab02..9f59d35c3c84faf821f1237416d743f1412bb2e1 100644 (file)
@@ -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");
                }
        }
 
This page took 0.02287 seconds and 4 git commands to generate.