summaryrefslogtreecommitdiff
path: root/notify.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-12-04 12:05:44 +0100
committerKay Sievers <kay@vrfy.org>2013-12-04 12:05:44 +0100
commitdc357e42125533e9ad4c73b15dc484ce05829b2d (patch)
treeecdf46b563102046e0f6b3350112d7bc651f9a1e /notify.c
parent31b7d89f575fb39b0789f4e45bb43df91dce5d15 (diff)
downloadkdbus-bus-dc357e42125533e9ad4c73b15dc484ce05829b2d.tar.gz
kdbus-bus-dc357e42125533e9ad4c73b15dc484ce05829b2d.tar.bz2
kdbus-bus-dc357e42125533e9ad4c73b15dc484ce05829b2d.zip
use KDBUS_PART_SIZE everywhere
Diffstat (limited to 'notify.c')
-rw-r--r--notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notify.c b/notify.c
index 380c1aa6956..233bc726f4f 100644
--- a/notify.c
+++ b/notify.c
@@ -43,7 +43,7 @@ static int kdbus_notify_reply(struct kdbus_ep *ep, u64 src_id,
if (!dst_conn)
return -ENXIO;
- ret = kdbus_kmsg_new(KDBUS_ITEM_SIZE(0), &kmsg);
+ ret = kdbus_kmsg_new(KDBUS_PART_SIZE(0), &kmsg);
if (ret < 0)
goto exit_unref_conn;