projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Port: Add Solaris string compat
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
cmd.c
diff --git
a/src/bin/lttng-sessiond/cmd.c
b/src/bin/lttng-sessiond/cmd.c
index 65d1d090e393d21e191770bfe0888b0c7c022d8c..b4521dfe3be28c63a083035b27ed121ad4dfbdd5 100644
(file)
--- a/
src/bin/lttng-sessiond/cmd.c
+++ b/
src/bin/lttng-sessiond/cmd.c
@@
-18,7
+18,6
@@
#define _GNU_SOURCE
#define _LGPL_SOURCE
#include <assert.h>
#define _GNU_SOURCE
#define _LGPL_SOURCE
#include <assert.h>
-#include <string.h>
#include <inttypes.h>
#include <urcu/list.h>
#include <urcu/uatomic.h>
#include <inttypes.h>
#include <urcu/list.h>
#include <urcu/uatomic.h>
@@
-28,6
+27,7
@@
#include <common/sessiond-comm/sessiond-comm.h>
#include <common/relayd/relayd.h>
#include <common/utils.h>
#include <common/sessiond-comm/sessiond-comm.h>
#include <common/relayd/relayd.h>
#include <common/utils.h>
+#include <common/compat/string.h>
#include "channel.h"
#include "consumer.h"
#include "channel.h"
#include "consumer.h"
@@
-1048,7
+1048,7
@@
int cmd_enable_channel(struct ltt_session *session,
assert(attr);
assert(domain);
assert(attr);
assert(domain);
- len = strnlen(attr->name, sizeof(attr->name));
+ len =
lttng_
strnlen(attr->name, sizeof(attr->name));
/* Validate channel name */
if (attr->name[0] == '.' ||
/* Validate channel name */
if (attr->name[0] == '.' ||
This page took
0.027647 seconds
and
4
git commands to generate.