From 5f9573f27466ab54efa794871844087bfd1d83d4 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Sun, 21 Feb 2016 23:14:23 +0100 Subject: [PATCH] fix android build bionic libc doesn't know _Exit(). Replace it with _exit(). Signed-off-by: Christian Brauner --- src/lxc/lxc_attach.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lxc/lxc_attach.c b/src/lxc/lxc_attach.c index 7175e58a3..98e917a1b 100644 --- a/src/lxc/lxc_attach.c +++ b/src/lxc/lxc_attach.c @@ -228,9 +228,9 @@ static pid_t fork_pty(int *masterfd) close(master); setsid(); if (ioctl(slave, TIOCSCTTY, NULL) < 0) - _Exit(-1); /* automatically closes fds */ + _exit(-1); /* automatically closes fds */ if (lxc_console_set_stdfds(slave) < 0) - _Exit(-1); /* automatically closes fds */ + _exit(-1); /* automatically closes fds */ return 0; } else { *masterfd = master; -- 2.47.2