- 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:
Bruno G. Albuquerque 2008-08-20 01:34:43 +00:00
parent c9b064de56
commit 7c1b58f2bb

View File

@ -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) {