projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: arguments in the wrong order for fd-limit
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
main.c
diff --git
a/src/bin/lttng-sessiond/main.c
b/src/bin/lttng-sessiond/main.c
index 05646279a63a48b3f81bbf64d67454b9aaf53a1c..958ff0589e763357187f85f5ace6b5b29707c256 100644
(file)
--- a/
src/bin/lttng-sessiond/main.c
+++ b/
src/bin/lttng-sessiond/main.c
@@
-1573,7
+1573,7
@@
static void *thread_dispatch_ust_registration(void *data)
if (ret < 0) {
PERROR("close ust sock dispatch %d", ust_cmd->sock);
}
if (ret < 0) {
PERROR("close ust sock dispatch %d", ust_cmd->sock);
}
- lttng_fd_put(
1, LTTNG_FD_APPS
);
+ lttng_fd_put(
LTTNG_FD_APPS, 1
);
free(ust_cmd);
goto error;
}
free(ust_cmd);
goto error;
}
@@
-1587,7
+1587,7
@@
static void *thread_dispatch_ust_registration(void *data)
if (ret < 0) {
PERROR("close ust sock dispatch %d", ust_cmd->sock);
}
if (ret < 0) {
PERROR("close ust sock dispatch %d", ust_cmd->sock);
}
- lttng_fd_put(
1, LTTNG_FD_APPS
);
+ lttng_fd_put(
LTTNG_FD_APPS, 1
);
free(wait_node);
free(ust_cmd);
continue;
free(wait_node);
free(ust_cmd);
continue;
@@
-1635,7
+1635,7
@@
static void *thread_dispatch_ust_registration(void *data)
if (ret < 0) {
PERROR("close ust sock dispatch %d", ust_cmd->sock);
}
if (ret < 0) {
PERROR("close ust sock dispatch %d", ust_cmd->sock);
}
- lttng_fd_put(
1, LTTNG_FD_APPS
);
+ lttng_fd_put(
LTTNG_FD_APPS, 1
);
}
free(ust_cmd);
}
}
free(ust_cmd);
}
This page took
0.026164 seconds
and
5
git commands to generate.