summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/busname.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/busname.c b/src/core/busname.c
index 838171fe23..acd665282d 100644
--- a/src/core/busname.c
+++ b/src/core/busname.c
@@ -730,7 +730,9 @@ static int busname_peek_message(BusName *n) {
.size = sizeof(cmd_recv),
.flags = KDBUS_RECV_PEEK,
};
- struct kdbus_cmd_free cmd_free = {};
+ struct kdbus_cmd_free cmd_free = {
+ .size = sizeof(cmd_free),
+ };
const char *comm = NULL;
struct kdbus_item *d;
struct kdbus_msg *k;