projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: standardize parser/lexer building
[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 21619a6839c83106b46692c6f19ddd9ee900b9e4..d1faf02693305541eb521eb27b1153e623835b4b 100644
(file)
--- a/
src/lib/lttng-ctl/load.c
+++ b/
src/lib/lttng-ctl/load.c
@@
-15,7
+15,7
@@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#define _
GNU
_SOURCE
+#define _
LGPL
_SOURCE
#include <assert.h>
#include <string.h>
#include <assert.h>
#include <string.h>
@@
-23,7
+23,7
@@
#include <lttng/load.h>
#include <lttng/load-internal.h>
#include <common/sessiond-comm/sessiond-comm.h>
#include <lttng/load.h>
#include <lttng/load-internal.h>
#include <common/sessiond-comm/sessiond-comm.h>
-#include <common/config/config.h>
+#include <common/config/
session-
config.h>
#include "lttng-ctl-helper.h"
#include "lttng-ctl-helper.h"
@@
-83,7
+83,7
@@
int lttng_load_session_attr_set_session_name(
size_t len;
len = strlen(session_name);
size_t len;
len = strlen(session_name);
- if (len >= NAME_MAX) {
+ if (len >=
LTTNG_
NAME_MAX) {
ret = -LTTNG_ERR_INVALID;
goto error;
}
ret = -LTTNG_ERR_INVALID;
goto error;
}
This page took
0.031027 seconds
and
5
git commands to generate.