Skip to content

Commit

Permalink
Check that the log_file argument is NULL. Apparently upstream is now …
Browse files Browse the repository at this point in the history
…assuming that the caller is doing the right thing.
  • Loading branch information
seanbruno committed Apr 27, 2016
1 parent 158b60d commit e3d069e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bsd-user/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,8 @@ int main(int argc, char **argv)
}

/* init debug */
qemu_set_log_filename(log_file);
if (log_file)
qemu_set_log_filename(log_file);
if (log_mask) {
int mask;

Expand Down

0 comments on commit e3d069e

Please sign in to comment.