From 84603a9677546aa30c221b539ac5a508386c9af3 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 12 Jun 2008 15:55:38 +0100 Subject: [PATCH] Initialise logfile early. --- vl.c | 2 ++ 1 file changed, 2 insertions(+) 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) { -- 2.39.5