X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fdaemonize.c;h=40cef3840000a9a44848d779f531a9ea400ae983;hb=f2c1f0d46e0ed64f57a4f3bc3a5d6c5b6d743b77;hp=3a006134b2bb9f5902b531b84c7d263315f81ae9;hpb=d5d516999a7f74b8906bd759533ba14fb40e5ae4;p=lttng-tools.git diff --git a/src/common/daemonize.c b/src/common/daemonize.c index 3a006134b..40cef3840 100644 --- a/src/common/daemonize.c +++ b/src/common/daemonize.c @@ -16,18 +16,17 @@ * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#define _GNU_SOURCE #define _LGPL_SOURCE #include -#include +#include #include -#include +#include #include #include -#include -#include +#include +#include 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 - * is now an operationnal session daemon ready to serve + * is now an operational session daemon ready to serve * clients and applications. */ exit(EXIT_SUCCESS);