From 698da597e1d80724841a8e2ec672c8df60563525 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sun, 26 Nov 2023 05:34:10 +0900 Subject: [PATCH] varlinkctl: add short comment --- src/varlinkctl/varlinkctl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/varlinkctl/varlinkctl.c b/src/varlinkctl/varlinkctl.c index 36556642d3..64105c7ab2 100644 --- a/src/varlinkctl/varlinkctl.c +++ b/src/varlinkctl/varlinkctl.c @@ -376,6 +376,7 @@ static int verb_call(int argc, char *argv[], void *userdata) { arg_json_format_flags &= ~JSON_FORMAT_OFF; if (parameter) { + /* is correct, as dispatch_verb() shifts arguments by one for the verb. */ r = json_parse_with_source(parameter, "", 0, &jp, &line, &column); if (r < 0) return log_error_errno(r, "Failed to parse parameters at :%u:%u: %m", line, column);