jeyzu pushed a commit to branch master.

commit 4e742bf0bf7ca549d00b739cef5208962314ea33
Author: Jérémy Zurcher <[email protected]>
Date:   Mon Jun 10 16:18:52 2013 +0200

    eo: fix advertised object size in dbg msg
---
 src/lib/eo/eo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index 5999d49..737ab9b 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);

-- 

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j

Reply via email to