- 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:
parent
c9b064de56
commit
7c1b58f2bb
@ -1882,7 +1882,7 @@ cdda_create_attr(fs_volume *_volume, fs_vnode *_node, const char *name,
|
||||
|
||||
Attribute *attribute = inode->FindAttribute(name);
|
||||
if (attribute == NULL) {
|
||||
status_t status = inode->AddAttribute(name, type);
|
||||
status_t status = inode->AddAttribute(name, type, "");
|
||||
if (status < B_OK)
|
||||
return status;
|
||||
} else if ((openMode & O_EXCL) == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user