diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-11-25 21:34:10 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-11-28 10:28:17 +0100 |
commit | 698da597e1d80724841a8e2ec672c8df60563525 (patch) | |
tree | 61b60e3784f91fea5d33db04bc3dba03ff926a75 /src/varlinkctl | |
parent | capability-util: avoid false-positive use-of-uninitialized-value error (diff) | |
download | systemd-698da597e1d80724841a8e2ec672c8df60563525.tar.xz systemd-698da597e1d80724841a8e2ec672c8df60563525.zip |
varlinkctl: add short comment
Diffstat (limited to 'src/varlinkctl')
-rw-r--r-- | src/varlinkctl/varlinkctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { + /* <argv[4]> is correct, as dispatch_verb() shifts arguments by one for the verb. */ r = json_parse_with_source(parameter, "<argv[4]>", 0, &jp, &line, &column); if (r < 0) return log_error_errno(r, "Failed to parse parameters at <argv[4]>:%u:%u: %m", line, column); |