* Improved reported inode number to the be actual index.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27444 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2008-09-12 09:53:58 +00:00
parent 866ece3115
commit fa23653d48

View File

@ -2613,9 +2613,9 @@ AttributeIterator::GetNext(char* name, size_t* _length, uint32* _type,
strncpy(name, item->Name(), B_FILE_NAME_LENGTH);
*_type = item->Type();
*_length = item->NameSize();
*_id = (ino_t)fCurrentSmallData;
*_id = (ino_t)index;
fCurrentSmallData = index;
fCurrentSmallData = index + 1;
return B_OK;
}