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. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35149 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
ae15171716
commit
44b08ffcb9
|
@ -190,9 +190,9 @@ BeOSKernelVolume::ReadVNode(ino_t vnid, bool reenter, void** node, int* type,
|
|||
|
||||
// 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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue