diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-07-01 18:21:11 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-07-01 18:21:11 +0000 |
commit | 11fcfab4b0d7349aa3b00e3205f3b0805396b680 (patch) | |
tree | 2c9691fc76d60ec69947e3e68c395b5d2b73ab1a /exec.c | |
parent | 7e1543c23b34fa590b636d26b94b7a8e8673569d (diff) |
Fix bogus fopen mode.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3038 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'exec.c')
-rw-r--r-- | exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1161,7 +1161,7 @@ void cpu_set_log(int log_flags) { loglevel = log_flags; if (loglevel && !logfile) { - logfile = fopen(logfilename, log_append ? "wa" : "w"); + logfile = fopen(logfilename, log_append ? "a" : "w"); if (!logfile) { perror(logfilename); _exit(1); |