Remove redundant parameter fd from SMB_VFS_FSTAT().
[ira/wip.git] / source3 / torture / cmd_vfs.c
index 17f4b9bfc0ec1982ec420f4849feb7ac2911b7bf..7c8d070e067434ac9dc132af221b23263ec5295e 100644 (file)
@@ -572,7 +572,7 @@ static NTSTATUS cmd_fstat(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc,
                return NT_STATUS_OK;
        }
 
-       if (SMB_VFS_FSTAT(vfs->files[fd], fd, &st) == -1) {
+       if (SMB_VFS_FSTAT(vfs->files[fd], &st) == -1) {
                printf("fstat: error=%d (%s)\n", errno, strerror(errno));
                return NT_STATUS_UNSUCCESSFUL;
        }