kdbus-test: fix kdbus item alignment in kdbus_hello_registrar()
authorDjalal Harouni <tixxdz@opendz.org>
Wed, 11 Jun 2014 16:27:59 +0000 (17:27 +0100)
committerKay Sievers <kay@vrfy.org>
Thu, 12 Jun 2014 13:12:54 +0000 (15:12 +0200)
commit8afecaa5c26ae1338f32fa9010245289cecb1b38
tree771c61e1093dd4ffc3d0b31c6bf0a52332674571
parentd92d68414fabab2e3bc95f0f4ef608dfe4365f6d
kdbus-test: fix kdbus item alignment in kdbus_hello_registrar()

Currently running the test-kdbus-activator test will fail with -EINVAL

To fix this, remove the redundant offsetof() macros since it is already
handled. The KDBUS_ITEM_SIZE() will expand into KDBUS_ITEM_HEADER_SIZE()
which expands into an offsetof() one.

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
test/kdbus-util.c