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:
@@ -99,7 +99,7 @@ struct MountPartitionParams {
|
|||||||
static status_t
|
static status_t
|
||||||
AutoMounterWatchNode(const node_ref *nodeRef, uint32 flags)
|
AutoMounterWatchNode(const node_ref *nodeRef, uint32 flags)
|
||||||
{
|
{
|
||||||
ASSERT(nodeToWatch != NULL);
|
ASSERT(nodeRef != NULL);
|
||||||
|
|
||||||
TTracker *tracker = dynamic_cast<TTracker *>(be_app);
|
TTracker *tracker = dynamic_cast<TTracker *>(be_app);
|
||||||
if (tracker != NULL)
|
if (tracker != NULL)
|
||||||
@@ -127,7 +127,7 @@ MountAndWatch(Partition *partition)
|
|||||||
node_ref nodeToWatch;
|
node_ref nodeToWatch;
|
||||||
status = partition->GetMountPointNodeRef(&nodeToWatch);
|
status = partition->GetMountPointNodeRef(&nodeToWatch);
|
||||||
if (status != B_OK) {
|
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;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user