summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-06-10 16:18:52 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2013-06-10 16:42:15 +0200
commit4e742bf0bf7ca549d00b739cef5208962314ea33 (patch)
treea60cd677eaff0244196a01d26256f098980cfe27
parent274799cb084b62488a8abf56b6cb1c46304d2da2 (diff)
downloadefl-4e742bf0bf7ca549d00b739cef5208962314ea33.tar.gz
eo: fix advertised object size in dbg msg
-rw-r--r--src/lib/eo/eo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index 5999d4904a..737ab9b079 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -1072,7 +1072,7 @@ eo_class_new(const Eo_Class_Description *desc, const Eo_Class *parent_id, ...)
{
fprintf(stderr, "Eo class '%s' will take %u bytes per object.\n",
desc->name,
- (unsigned int) (klass->data_offset + EO_ALIGN_SIZE(klass->desc->data_size) + klass->extn_data_size));
+ (unsigned int) (_eo_sz + klass->data_offset + EO_ALIGN_SIZE(klass->desc->data_size) + klass->extn_data_size));
}
va_end(p_list);