projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Port: fix -Wdeprecated-declarations warning about sprintf on macOS clang 14
[lttng-tools.git]
/
src
/
common
/
uuid.cpp
diff --git
a/src/common/uuid.cpp
b/src/common/uuid.cpp
index 8aa42a4e6fc4b579d55f84d4bcceca43f70a4ef0..4c64c08acedafe03de2e3d32b168146b97271134 100644
(file)
--- a/
src/common/uuid.cpp
+++ b/
src/common/uuid.cpp
@@
-27,7
+27,7
@@
bool lttng_uuid_is_init;
void lttng_uuid_to_str(const lttng_uuid& uuid, char *uuid_str)
{
void lttng_uuid_to_str(const lttng_uuid& uuid, char *uuid_str)
{
- s
printf(uuid_str
, LTTNG_UUID_FMT, LTTNG_UUID_FMT_VALUES(uuid));
+ s
nprintf(uuid_str, LTTNG_UUID_STR_LEN
, LTTNG_UUID_FMT, LTTNG_UUID_FMT_VALUES(uuid));
}
std::string lttng::utils::uuid_to_str(const lttng_uuid& uuid)
}
std::string lttng::utils::uuid_to_str(const lttng_uuid& uuid)
This page took
0.022467 seconds
and
4
git commands to generate.