replaced stdio in many parts of samba with a XFILE. XFILE is a cut-down
[ira/wip.git] / source3 / utils / testparm.c
index 28870fb2722e1634deb409f1a5925e5ffc3bc800..e430fe414ba18465fc7d38f57145336a8ccac14b 100644 (file)
@@ -36,7 +36,7 @@
 #include "smb.h"
 
 /* these live in util.c */
-extern FILE *dbf;
+extern XFILE *dbf;
 extern int DEBUGLEVEL;
 
 /***********************************************
@@ -210,7 +210,7 @@ int main(int argc, char *argv[])
   else if ((argc == 2) || (argc == 4))
     pstrcpy(configfile,argv[optind]);
 
-  dbf = stdout;
+  dbf = x_stdout;
   DEBUGLEVEL = 2;
 
   printf("Load smb config files from %s\n",configfile);