diff options
Diffstat (limited to '')
-rw-r--r-- | src/varlinkctl/varlinkctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/varlinkctl/varlinkctl.c b/src/varlinkctl/varlinkctl.c index 64105c7ab2..9c8a8d9710 100644 --- a/src/varlinkctl/varlinkctl.c +++ b/src/varlinkctl/varlinkctl.c @@ -211,7 +211,7 @@ static int verb_info(int argc, char *argv[], void *userdata) { JsonVariant *reply = NULL; const char *error = NULL; - r = varlink_call(vl, "org.varlink.service.GetInfo", NULL, &reply, &error, NULL); + r = varlink_call(vl, "org.varlink.service.GetInfo", /* parameters= */ NULL, &reply, &error); if (r < 0) return log_error_errno(r, "Failed to issue GetInfo() call: %m"); if (error) @@ -297,7 +297,7 @@ static int verb_introspect(int argc, char *argv[], void *userdata) { JsonVariant *reply = NULL; const char *error = NULL; - r = varlink_callb(vl, "org.varlink.service.GetInterfaceDescription", &reply, &error, NULL, JSON_BUILD_OBJECT(JSON_BUILD_PAIR_STRING("interface", interface))); + r = varlink_callb(vl, "org.varlink.service.GetInterfaceDescription", &reply, &error, JSON_BUILD_OBJECT(JSON_BUILD_PAIR_STRING("interface", interface))); if (r < 0) return log_error_errno(r, "Failed to issue GetInterfaceDescription() call: %m"); if (error) @@ -432,7 +432,7 @@ static int verb_call(int argc, char *argv[], void *userdata) { JsonVariant *reply = NULL; const char *error = NULL; - r = varlink_call(vl, method, jp, &reply, &error, NULL); + r = varlink_call(vl, method, jp, &reply, &error); if (r < 0) return log_error_errno(r, "Failed to issue %s() call: %m", method); |