From: Ian Jackson Date: Thu, 12 Jun 2008 14:55:38 +0000 (+0100) Subject: Initialise logfile early. X-Git-Tag: xen-3.3.0-rc1~81 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=84603a9677546aa30c221b539ac5a508386c9af3;p=qemu-xen-3.3-testing.git Initialise logfile early. --- diff --git a/vl.c b/vl.c index 51360743..efdc641b 100644 --- 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) {