From: Christian Brauner Date: Sun, 21 Feb 2016 22:14:23 +0000 (+0100) Subject: fix android build X-Git-Tag: lxc-2.0.0.rc2~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F835%2Fhead;p=thirdparty%2Flxc.git fix android build bionic libc doesn't know _Exit(). Replace it with _exit(). Signed-off-by: Christian Brauner --- 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;