From cea5557794b7153e70279c1b4b3916a212f679ff Mon Sep 17 00:00:00 2001 From: Tyler Dauwalder Date: Tue, 1 Oct 2002 07:24:38 +0000 Subject: [PATCH] Updated to match new entry_ref_is_root_dir() calling convention. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1323 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/storage/Entry.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kits/storage/Entry.cpp b/src/kits/storage/Entry.cpp index 7567596d89..59ed019bc4 100644 --- a/src/kits/storage/Entry.cpp +++ b/src/kits/storage/Entry.cpp @@ -588,7 +588,7 @@ status_t BEntry::GetParent(BEntry *entry) const if (status == B_OK) { // Verify we aren't an entry representing "/" - status = BPrivate::Storage::entry_ref_is_root_dir(ref) ? B_ENTRY_NOT_FOUND + status = BPrivate::Storage::entry_ref_is_root_dir(&ref) ? B_ENTRY_NOT_FOUND : B_OK ; if (status == B_OK) { @@ -635,7 +635,7 @@ BEntry::GetParent(BDirectory *dir) const if (status == B_OK) { // Verify we aren't an entry representing "/" - status = BPrivate::Storage::entry_ref_is_root_dir(ref) ? B_ENTRY_NOT_FOUND : B_OK ; + status = BPrivate::Storage::entry_ref_is_root_dir(&ref) ? B_ENTRY_NOT_FOUND : B_OK ; if (status == B_OK) { // Now point the entry_ref to the parent directory (instead of ourselves)