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:
parent
3f2a0963f6
commit
1cc2cf286c
@ -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;
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user