try {
write(&value, sizeof(value));
} catch (const std::exception& e) {
- LTTNG_THROW_ERROR(fmt::format("Failed to increment eventfd: {}", e.what()));
+ LTTNG_THROW_ERROR(lttng::format("Failed to increment eventfd: {}", e.what()));
}
}
try {
read(&value, sizeof(value));
} catch (const std::exception& e) {
- LTTNG_THROW_ERROR(fmt::format("Failed to decrement eventfd: {}", e.what()));
+ LTTNG_THROW_ERROR(lttng::format("Failed to decrement eventfd: {}", e.what()));
}
return value;