diff options
-rw-r--r-- | bsd-user/main.c | 4 | ||||
-rw-r--r-- | darwin-user/main.c | 4 | ||||
-rw-r--r-- | linux-user/main.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/bsd-user/main.c b/bsd-user/main.c index 7d0d4b397a..74a1ba61fb 100644 --- a/bsd-user/main.c +++ b/bsd-user/main.c @@ -351,7 +351,7 @@ static void usage(void) interp_prefix, x86_stack_size, DEBUG_LOGFILE); - _exit(1); + exit(1); } THREAD CPUState *thread_env; @@ -448,7 +448,7 @@ int main(int argc, char **argv) #if defined(cpu_list) cpu_list(stdout, &fprintf); #endif - _exit(1); + exit(1); } } else if (!strcmp(r, "drop-ld-preload")) { drop_ld_preload = 1; diff --git a/darwin-user/main.c b/darwin-user/main.c index 24e738b3a9..9b8a3dccca 100644 --- a/darwin-user/main.c +++ b/darwin-user/main.c @@ -756,7 +756,7 @@ void usage(void) interp_prefix, stack_size, DEBUG_LOGFILE); - _exit(1); + exit(1); } /* XXX: currently only used for async signals (see signal.c) */ @@ -840,7 +840,7 @@ int main(int argc, char **argv) #if defined(cpu_list) cpu_list(stdout, &fprintf); #endif - _exit(1); + exit(1); } } else { diff --git a/linux-user/main.c b/linux-user/main.c index 00259dc7cb..6e2984c44b 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -2213,7 +2213,7 @@ static void usage(void) interp_prefix, x86_stack_size, DEBUG_LOGFILE); - _exit(1); + exit(1); } THREAD CPUState *thread_env; @@ -2335,7 +2335,7 @@ int main(int argc, char **argv, char **envp) #if defined(cpu_list) cpu_list(stdout, &fprintf); #endif - _exit(1); + exit(1); } } else if (!strcmp(r, "drop-ld-preload")) { (void) envlist_unsetenv(envlist, "LD_PRELOAD"); |