projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
consumer: add extra debug output
[lttng-tools.git]
/
src
/
common
/
daemonize.c
diff --git
a/src/common/daemonize.c
b/src/common/daemonize.c
index 3a006134b2bb9f5902b531b84c7d263315f81ae9..40cef3840000a9a44848d779f531a9ea400ae983 100644
(file)
--- a/
src/common/daemonize.c
+++ b/
src/common/daemonize.c
@@
-16,18
+16,17
@@
* Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
* Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#define _GNU_SOURCE
#define _LGPL_SOURCE
#include <unistd.h>
#define _LGPL_SOURCE
#include <unistd.h>
-#include <paths.h>
+#include <
common/compat/
paths.h>
#include <fcntl.h>
#include <fcntl.h>
-#include <wait.h>
+#include <
sys/
wait.h>
#include <stdlib.h>
#include <urcu/system.h>
#include <stdlib.h>
#include <urcu/system.h>
-#include <
src/
common/daemonize.h>
-#include <
src/
common/error.h>
+#include <common/daemonize.h>
+#include <common/error.h>
LTTNG_HIDDEN
int lttng_daemonize(pid_t *child_ppid, int *completion_flag,
LTTNG_HIDDEN
int lttng_daemonize(pid_t *child_ppid, int *completion_flag,
@@
-119,7
+118,7
@@
int lttng_daemonize(pid_t *child_ppid, int *completion_flag,
/*
* From this point on, the parent can exit and the child
/*
* From this point on, the parent can exit and the child
- * is now an operation
n
al session daemon ready to serve
+ * is now an operational session daemon ready to serve
* clients and applications.
*/
exit(EXIT_SUCCESS);
* clients and applications.
*/
exit(EXIT_SUCCESS);
This page took
0.033381 seconds
and
4
git commands to generate.