/*
- * Copyright (c) 2000-2003, 2005 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2003, 2005-2008 Apple Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
return noErr;
- err = GetNode (btreePtr, kHeaderNodeNum, &node );
+ err = GetNode (btreePtr, kHeaderNodeNum, 0, &node );
if (err != noErr) {
return err;
}
goto SearchTheTree;
}
- err = GetNode (btreePtr, nodeNum, middle);
+ err = GetNode (btreePtr, nodeNum, kGetNodeHint, middle);
if( err == fsBTInvalidNodeErr ) // returned if nodeNum is out of range
goto SearchTheTree;
M_ExitOnError(err);
// Look up the left node
- err = GetNode (btreePtr, nodeNum, left);
+ err = GetNode (btreePtr, nodeNum, 0, left);
M_ExitOnError (err);
// Look up the current node again