aboutsummaryrefslogtreecommitdiffstats
path: root/exec.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 /exec.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 'exec.c')
-rw-r--r--exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec.c b/exec.c
index b8a473f..c71ef66 100644
--- a/exec.c
+++ b/exec.c
@@ -1527,7 +1527,7 @@ void cpu_set_log(int log_flags)
logfile = fopen(logfilename, log_append ? "a" : "w");
if (!logfile) {
perror(logfilename);
- _exit(1);
+ exit(1);
}
#if !defined(CONFIG_SOFTMMU)
/* must avoid mmap() usage of glibc by setting a buffer "by hand" */