[haiku-commits] r35149 - haiku/trunk/src/add-ons/kernel/file_systems/userlandfs/server/beos

Author: mmlr
Date: 2010-01-19 00:57:38 +0100 (Tue, 19 Jan 2010)
New Revision: 35149
Changeset: http://dev.haiku-os.org/changeset/35149/haiku

Modified:
   
haiku/trunk/src/add-ons/kernel/file_systems/userlandfs/server/beos/BeOSKernelVolume.cpp
Log:
The node parameter is a void ** but these calls expect the void * to the node we
got as a result from read_vnode. The joys of void pointers.


Modified: 
haiku/trunk/src/add-ons/kernel/file_systems/userlandfs/server/beos/BeOSKernelVolume.cpp
===================================================================
--- 
haiku/trunk/src/add-ons/kernel/file_systems/userlandfs/server/beos/BeOSKernelVolume.cpp
     2010-01-18 23:14:46 UTC (rev 35148)
+++ 
haiku/trunk/src/add-ons/kernel/file_systems/userlandfs/server/beos/BeOSKernelVolume.cpp
     2010-01-18 23:57:38 UTC (rev 35149)
@@ -190,9 +190,9 @@
 
        // stat it -- we need to get the node type
        struct stat st;
-       error = ReadStat(node, &st);
+       error = ReadStat(*node, &st);
        if (error != B_OK) {
-               WriteVNode(node, reenter);
+               WriteVNode(*node, reenter);
                return error;
        }
 


Other related posts: