projects
/
deliverable
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Port: Use LTTNG_NAME_MAX instead of NAME_MAX
[deliverable/lttng-tools.git]
/
src
/
lib
/
lttng-ctl
/
load.c
diff --git
a/src/lib/lttng-ctl/load.c
b/src/lib/lttng-ctl/load.c
index 3599503e51ad5b08eba677a01b213a107bad7ad1..29998cda303e5c1894cff26ca4b90c26aa244cc8 100644
(file)
--- a/
src/lib/lttng-ctl/load.c
+++ b/
src/lib/lttng-ctl/load.c
@@
-84,7
+84,7
@@
int lttng_load_session_attr_set_session_name(
size_t len;
len = strlen(session_name);
- if (len >= NAME_MAX) {
+ if (len >=
LTTNG_
NAME_MAX) {
ret = -LTTNG_ERR_INVALID;
goto error;
}
This page took
0.025209 seconds
and
5
git commands to generate.