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
/
plugins
/
utils
/
trimmer
/
trimmer.c
diff --git
a/src/plugins/utils/trimmer/trimmer.c
b/src/plugins/utils/trimmer/trimmer.c
index a65b2ecc881fcd5928e969a353a35bae9a3f58bb..68230d5ef440f2e2f1159b53b739781412fd7544 100644
(file)
--- a/
src/plugins/utils/trimmer/trimmer.c
+++ b/
src/plugins/utils/trimmer/trimmer.c
@@
-440,7
+440,7
@@
int set_bound_from_param(struct trimmer_comp *trimmer_comp,
* Just convert it to a temporary string to handle
* everything the same way.
*/
- s
printf(tmp_arg
, "%" PRId64, value);
+ s
nprintf(tmp_arg, sizeof(tmp_arg)
, "%" PRId64, value);
arg = tmp_arg;
} else {
BT_ASSERT(bt_value_is_string(param));
This page took
0.045563 seconds
and
4
git commands to generate.