Commit 6c4d8ba3 authored by Andrew Jeffery's avatar Andrew Jeffery

mboxctl: Fix Control.Resume argument type

The daemon implements the argument with a boolean type parameter but we
were passing a char from mboxctl, which makes the call fail.

Fix the parameter type in mboxctl to match mboxd.

Change-Id: Ib271d165e823cf9e793e6493cec409c45f82d231
Signed-off-by: Andrew Jeffery's avatarAndrew Jeffery <>
parent 5f86227e
......@@ -236,7 +236,7 @@ static int handle_cmd_resume(struct mboxctl_context *context, char *sarg)
goto out;
rc = sd_bus_message_append(m, "y", arg);
rc = sd_bus_message_append(m, "b", arg);
if (rc < 0) {
MSG_ERR("Failed to add args to message: %s\n",
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment