]> xenbits.xensource.com Git - qemu-xen-3.4-testing.git/commitdiff
Initialise logfile early.
authorIan Jackson <iwj@mariner.uk.xensource.com>
Thu, 12 Jun 2008 14:55:38 +0000 (15:55 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 12 Jun 2008 14:55:38 +0000 (15:55 +0100)
vl.c

diff --git a/vl.c b/vl.c
index 513607433c6e6f395ff1fde0907cac536523ec89..efdc641b806029440b9960c9332f3bfa8ece1c84 100644 (file)
--- a/vl.c
+++ b/vl.c
@@ -7785,6 +7785,8 @@ int main(int argc, char **argv)
     const char *pid_file = NULL;
     VLANState *vlan;
 
+    logfile = stderr; /* initial value */
+
 #if !defined(__sun__) && !defined(CONFIG_STUBDOM)
     /* Maximise rlimits. Needed where default constraints are tight (*BSD). */
     if (getrlimit(RLIMIT_STACK, &rl) != 0) {