Switched attribute type to B_XATTR_TYPE, as recommended by Ingo.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40616 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2011-02-22 17:34:56 +00:00
parent 3f2a0963f6
commit 1cc2cf286c
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ Attribute::Stat(struct stat& stat)
}
// found an entry to stat
stat.st_type = B_RAW_TYPE;
stat.st_type = B_XATTR_TYPE;
stat.st_size = entry->DataLength();
free(entries);
return B_OK;

View File

@ -178,7 +178,7 @@ Attribute::Stat(struct stat& stat)
if (fBodyEntry == NULL && fBlockEntry == NULL)
return B_NO_INIT;
stat.st_type = B_RAW_TYPE;
stat.st_type = B_XATTR_TYPE;
if (fBodyEntry != NULL)
stat.st_size = fBodyEntry->ValueSize();