aboutsummaryrefslogtreecommitdiffstats
path: root/net-android.c
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2012-05-31 22:38:14 -0700
committerandroid code review <noreply-gerritcodereview@google.com>2012-05-31 22:38:15 -0700
commit3d218582b2edf2d7cdd0dca038814753efa415ff (patch)
tree6f0e66780f8364eab816fa0b3fac081462963a37 /net-android.c
parent4912ddd4570cef75a9434b12eff707b3c834cc05 (diff)
parent4a2c9dd7630ce51a660e1aa14e10bc6fbc4621c4 (diff)
downloadexternal_qemu-3d218582b2edf2d7cdd0dca038814753efa415ff.zip
external_qemu-3d218582b2edf2d7cdd0dca038814753efa415ff.tar.gz
external_qemu-3d218582b2edf2d7cdd0dca038814753efa415ff.tar.bz2
Merge "replace _exit() with exit()"
Diffstat (limited to 'net-android.c')
-rw-r--r--net-android.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-android.c b/net-android.c
index 6459eff..50b816c 100644
--- a/net-android.c
+++ b/net-android.c
@@ -1485,7 +1485,7 @@ static int launch_script(const char *setup_script, const char *ifname, int fd)
*parg++ = (char *)ifname;
*parg++ = NULL;
execv(setup_script, args);
- _exit(1);
+ exit(1);
} else if (pid > 0) {
while (waitpid(pid, &status, 0) != pid) {
/* loop */