summaryrefslogtreecommitdiff
path: root/notify.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-05-19 23:40:04 +0200
committerLennart Poettering <lennart@poettering.net>2013-05-20 10:16:34 +0200
commite79dbd6434ec9e02dddecfa331d660e61651ac3a (patch)
tree67953ecf21028c93ccac5ee3b08a5ea7793839e1 /notify.c
parentc3d9f7c632845a5ce0cc80e26ea7357549f37ec3 (diff)
downloadkdbus-bus-e79dbd6434ec9e02dddecfa331d660e61651ac3a.tar.gz
kdbus-bus-e79dbd6434ec9e02dddecfa331d660e61651ac3a.tar.bz2
kdbus-bus-e79dbd6434ec9e02dddecfa331d660e61651ac3a.zip
kdbus: prefix NULL enums with an underscore since they aren't really supposed to be used
Diffstat (limited to 'notify.c')
-rw-r--r--notify.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/notify.c b/notify.c
index a536d088f11..3b0eec453a3 100644
--- a/notify.c
+++ b/notify.c
@@ -53,7 +53,7 @@ static int kdbus_notify_reply(struct kdbus_ep *ep, u64 src_id,
kmsg->msg.dst_id = src_id;
kmsg->msg.src_id = KDBUS_SRC_ID_KERNEL;
- kmsg->msg.payload_type = KDBUS_PAYLOAD_NULL;
+ kmsg->msg.payload_type = _KDBUS_PAYLOAD_NULL;
kmsg->msg.cookie_reply = cookie;
item = kmsg->msg.items;
@@ -142,4 +142,3 @@ int kdbus_notify_id_change(struct kdbus_ep *ep, u64 type,
return ret;
}
-