diff options
author | Andrew Jeffery <andrew@aj.id.au> | 2018-11-01 10:45:35 +1030 |
---|---|---|
committer | Andrew Jeffery <andrew@aj.id.au> | 2018-11-01 10:45:35 +1030 |
commit | 6c4d8ba381c1edf48ad45691443d86abb38246a0 (patch) | |
tree | 75c7640c5c63286b76e4fac106cfbc6c4320f1be | |
parent | 5f86227e1619f60dadc8a053d14b20338d0fbdac (diff) | |
download | phosphor-mboxbridge-6c4d8ba381c1edf48ad45691443d86abb38246a0.tar.gz phosphor-mboxbridge-6c4d8ba381c1edf48ad45691443d86abb38246a0.zip |
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>
-rw-r--r-- | mboxctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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", strerror(-rc)); |