FdTable field in the process data is no more a pointer
authorKJK::Hyperion <hackbunny@reactos.org>
Thu, 7 Mar 2002 06:03:11 +0000 (06:03 +0000)
committerKJK::Hyperion <hackbunny@reactos.org>
Thu, 7 Mar 2002 06:03:11 +0000 (06:03 +0000)
svn path=/trunk/; revision=2680

posix/lib/psxdll/fcntl/fcntl.c

index 5630e32..430e0e2 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: fcntl.c,v 1.2 2002/02/20 09:17:57 hyperion Exp $
+/* $Id: fcntl.c,v 1.3 2002/03/07 06:03:11 hyperion Exp $
  */
 /*
  * COPYRIGHT:   See COPYING in the top level directory
  */
 /*
  * COPYRIGHT:   See COPYING in the top level directory
@@ -36,7 +36,7 @@ int fcntl(int fildes, int cmd, ...)
  __PdxAcquirePdataLock();
 
  /* get the file descriptors table */
  __PdxAcquirePdataLock();
 
  /* get the file descriptors table */
- pftFdTable = __PdxGetProcessData()->FdTable;
+ pftFdTable = &__PdxGetProcessData()->FdTable;
 
  /* fildes is an invalid, closed or uninitialized descriptor */
  if
 
  /* fildes is an invalid, closed or uninitialized descriptor */
  if