Ok - this is the 64 bit widening check in. It changes the configure
[kai/samba.git] / source3 / client / clitar.c
index 66421546833c2860d3c9215591a96f6f38a2e3f6..502a867f60ade9a5c7a3fc7aaaf78149a163e40a 100644 (file)
@@ -446,7 +446,7 @@ static void dotareof(int f)
   (void) dozerobuf(f, TBLOCK);
   (void) dozerobuf(f, TBLOCK);
 
-  if (fstat(f, &stbuf) == -1)
+  if (sys_fstat(f, &stbuf) == -1)
     {
       DEBUG(0, ("Couldn't stat file handle\n"));
       return;