Added the same open()/fopen()/creat()/mmap() -> sys_XXX calls.
[samba.git] / source3 / lib / smbrun.c
index 86d7cf9e03f697d329e6b434368cb840e3f5032b..da7632a67a9d66461b5911499dd394615334d171 100644 (file)
@@ -58,7 +58,7 @@ static BOOL setup_stdout_file(char *outfile,BOOL shared)
       flags = O_RDWR;
   }
   /* now create the file */
-  fd = open(outfile,flags,mode);
+  fd = sys_open(outfile,flags,mode);
 
   if (fd == -1) return False;