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 <andrew@aj.id.au>
diff --git a/mboxctl.c b/mboxctl.c
index e5262e1..9dbc149 100644
--- a/mboxctl.c
+++ b/mboxctl.c
@@ -236,7 +236,7 @@
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",
strerror(-rc));