projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean-up: coverity warns of uncaught exception during logging
[lttng-tools.git]
/
src
/
common
/
uuid.cpp
diff --git
a/src/common/uuid.cpp
b/src/common/uuid.cpp
index bef038ac6f6675b915a9b3ee816b736918614190..4a1038b330caf66e4be141bc251e5dcd14b965b6 100644
(file)
--- a/
src/common/uuid.cpp
+++ b/
src/common/uuid.cpp
@@
-85,10
+85,8
@@
int lttng_uuid_generate(lttng_uuid& uuid_out)
try {
srand(lttng::random::produce_best_effort_random_seed());
} catch (std::exception& e) {
try {
srand(lttng::random::produce_best_effort_random_seed());
} catch (std::exception& e) {
- ERR("%s",
- fmt::format("Failed to initialize random seed during generation of UUID: {}",
- e.what())
- .c_str());
+ ERR("Failed to initialize random seed during generation of UUID: %s",
+ e.what());
ret = -1;
goto end;
}
ret = -1;
goto end;
}
This page took
0.023793 seconds
and
4
git commands to generate.