projects
/
babeltrace.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
[babeltrace.git]
/
src
/
common
/
uuid.c
diff --git
a/src/common/uuid.c
b/src/common/uuid.c
index a0af2bc04dc75b57238cfda7d88ed000f92bbe32..b2457602c7b57c841fbc92b614691b7644c1b21b 100644
(file)
--- a/
src/common/uuid.c
+++ b/
src/common/uuid.c
@@
-57,7
+57,7
@@
void bt_uuid_to_str(const bt_uuid_t uuid_in, char *str_out)
BT_ASSERT_DBG(uuid_in);
BT_ASSERT_DBG(str_out);
- s
printf(str_out
, BT_UUID_FMT, BT_UUID_FMT_VALUES(uuid_in));
+ s
nprintf(str_out, BT_UUID_STR_LEN + 1
, BT_UUID_FMT, BT_UUID_FMT_VALUES(uuid_in));
}
BT_HIDDEN
This page took
0.025619 seconds
and
4
git commands to generate.