projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Handle SIGBUS in sessiond and consumerd
[lttng-tools.git]
/
src
/
common
/
daemonize.c
diff --git
a/src/common/daemonize.c
b/src/common/daemonize.c
index 594cc58155b59608801d355ec3f419e0d17893c6..cb094b1effa52f7145132792d2845b7ce92e6ea5 100644
(file)
--- a/
src/common/daemonize.c
+++ b/
src/common/daemonize.c
@@
-22,7
+22,6
@@
LTTNG_HIDDEN
int lttng_daemonize(pid_t *child_ppid, int *completion_flag,
int close_fds)
{
int lttng_daemonize(pid_t *child_ppid, int *completion_flag,
int close_fds)
{
- int ret;
pid_t pid;
/* Get parent pid of this process. */
pid_t pid;
/* Get parent pid of this process. */
@@
-35,6
+34,7
@@
int lttng_daemonize(pid_t *child_ppid, int *completion_flag,
} else if (pid == 0) {
int fd;
pid_t sid;
} else if (pid == 0) {
int fd;
pid_t sid;
+ int ret;
/* Child */
/* Child */
This page took
0.025078 seconds
and
4
git commands to generate.