projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
configure: enable -Wformat=2
[lttng-tools.git]
/
src
/
lib
/
lttng-ctl
/
lttng-ctl-health.cpp
diff --git
a/src/lib/lttng-ctl/lttng-ctl-health.cpp
b/src/lib/lttng-ctl/lttng-ctl-health.cpp
index 2a992830d5a41209cb99c162b71c6d2a4e38f57c..8a703b019e14b04a8536aa26dc9d35c28c98fb66 100644
(file)
--- a/
src/lib/lttng-ctl/lttng-ctl-health.cpp
+++ b/
src/lib/lttng-ctl/lttng-ctl-health.cpp
@@
-214,8
+214,11
@@
int set_health_socket_path(struct lttng_health *lh,
home = "/tmp";
}
+ DIAGNOSTIC_PUSH
+ DIAGNOSTIC_IGNORE_FORMAT_NONLITERAL
ret = snprintf(lh->health_sock_path, sizeof(lh->health_sock_path),
home_str, home);
+ DIAGNOSTIC_POP
if ((ret < 0) || (ret >= sizeof(lh->health_sock_path))) {
return -ENOMEM;
}
This page took
0.023713 seconds
and
4
git commands to generate.