changeset 315 | 119f967aead8 |
parent 294 | feea8d850c65 |
child 325 | 7833cf70c4f2 |
--- a/master/domain.c Tue Jul 25 10:04:51 2006 +0000 +++ b/master/domain.c Tue Jul 25 10:05:04 2006 +0000 @@ -53,10 +53,10 @@ /** \cond */ -EC_SYSFS_READ_ATTR(data_size); +EC_SYSFS_READ_ATTR(image_size); static struct attribute *def_attrs[] = { - &attr_data_size, + &attr_image_size, NULL, }; @@ -345,7 +345,7 @@ { ec_domain_t *domain = container_of(kobj, ec_domain_t, kobj); - if (attr == &attr_data_size) { + if (attr == &attr_image_size) { return sprintf(buffer, "%i\n", domain->data_size); }