Imported AutoMounter.cpp 1.9 - debug build fix by Jerome Duval.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17944 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-06-28 11:37:28 +00:00
parent 46cd0b32c5
commit 2009d9e5f1

View File

@ -99,7 +99,7 @@ struct MountPartitionParams {
static status_t
AutoMounterWatchNode(const node_ref *nodeRef, uint32 flags)
{
ASSERT(nodeToWatch != NULL);
ASSERT(nodeRef != NULL);
TTracker *tracker = dynamic_cast<TTracker *>(be_app);
if (tracker != NULL)
@ -127,7 +127,7 @@ MountAndWatch(Partition *partition)
node_ref nodeToWatch;
status = partition->GetMountPointNodeRef(&nodeToWatch);
if (status != B_OK) {
PRINT(("Couldn't get mount point node ref: %s\n", strerror(result)));
PRINT(("Couldn't get mount point node ref: %s\n", strerror(status)));
return status;
}