- The wrong version of Inode::Attribute(0 was being called. Now setting the
attribute type works. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27072 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1882,7 +1882,7 @@ cdda_create_attr(fs_volume *_volume, fs_vnode *_node, const char *name,
|
|||||||
|
|
||||||
Attribute *attribute = inode->FindAttribute(name);
|
Attribute *attribute = inode->FindAttribute(name);
|
||||||
if (attribute == NULL) {
|
if (attribute == NULL) {
|
||||||
status_t status = inode->AddAttribute(name, type);
|
status_t status = inode->AddAttribute(name, type, "");
|
||||||
if (status < B_OK)
|
if (status < B_OK)
|
||||||
return status;
|
return status;
|
||||||
} else if ((openMode & O_EXCL) == 0) {
|
} else if ((openMode & O_EXCL) == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user