const auto ret = ::close(_raw_fd);
if (ret) {
- PERROR("%s",
- fmt::format("Failed to close file descriptor: fd = {}",
- _raw_fd)
- .c_str());
+ PERROR("Failed to close file descriptor: fd=%i", _raw_fd);
}
}
int _raw_fd;
};
-} /* namespace lttng */
\ No newline at end of file
+} /* namespace lttng */