summaryrefslogtreecommitdiff
path: root/message.c
diff options
context:
space:
mode:
Diffstat (limited to 'message.c')
-rw-r--r--message.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/message.c b/message.c
index 4a63bac4379..f0d071dc971 100644
--- a/message.c
+++ b/message.c
@@ -299,8 +299,8 @@ int kdbus_kmsg_new_from_user(struct kdbus_conn *conn,
}
} else {
/*
- * KDBUS_MSG_FLAGS_EXPECT_REPLY is only valid together with
- * KDBUS_MSG_FLAGS_WAIT_FOR_REPLY
+ * KDBUS_MSG_FLAGS_SYNC_REPLY is only valid together with
+ * KDBUS_MSG_FLAGS_EXPECT_REPLY
*/
if (m->msg.flags & KDBUS_MSG_FLAGS_SYNC_REPLY) {
ret = -EINVAL;