--- bootpc-0.64.orig/main.c
+++ bootpc-0.64/main.c
@@ -21,7 +21,7 @@
 
 #include "bootpc.h"
 
-FILE * logfile = stderr ;
+FILE * logfile;
 
 int main(int argc,
 	 char *argv[])
@@ -33,6 +33,8 @@
   char *device, *bootfile, *server ;
   int returniffail=0, printflag = BP_PRINT_OUT ;
 
+  logfile = stderr ;
+
 /* defaults unless overridden by command line options 10/02/94  JSP */
   device = "eth0" ;             /* first ethernet card */
   bootfile = "" ;               /* No bootfile by default */
