diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-10-07 08:48:19 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-10-07 08:48:22 +0200 |
commit | 939630ae28f827e76f945eee4b6898b7d8c0be2f (patch) | |
tree | 779132ee7d3e3f153eb682b5e407ea8e7a32cc50 | |
parent | Merge pull request #29475 from keszybz/remove-wrapper-functions (diff) | |
download | systemd-939630ae28f827e76f945eee4b6898b7d8c0be2f.tar.xz systemd-939630ae28f827e76f945eee4b6898b7d8c0be2f.zip |
varlink: fix typo
Follow-ups for #29325.
Diffstat (limited to '')
-rw-r--r-- | man/varlinkctl.xml | 2 | ||||
-rw-r--r-- | src/shared/varlink-idl.c | 2 | ||||
-rw-r--r-- | src/shared/varlink.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/man/varlinkctl.xml b/man/varlinkctl.xml index 5d0ec6ace7..7dec54cc69 100644 --- a/man/varlinkctl.xml +++ b/man/varlinkctl.xml @@ -279,7 +279,7 @@ type ResolvedAddress( <example> <title>Investigating a Service Executable</title> - <para>The following comand inspects the <filename>/usr/lib/systemd/systemd-pcrextend</filename> + <para>The following command inspects the <filename>/usr/lib/systemd/systemd-pcrextend</filename> executable and the IPC APIs it provides. It then invokes a method on it:</para> <programlisting># varlinkctl info /usr/lib/systemd/systemd-pcrextend diff --git a/src/shared/varlink-idl.c b/src/shared/varlink-idl.c index 157474facf..73f336c522 100644 --- a/src/shared/varlink-idl.c +++ b/src/shared/varlink-idl.c @@ -1024,7 +1024,7 @@ int varlink_idl_parse( if (r < 0) return r; - symbol->symbol_type = _VARLINK_SYMBOL_TYPE_INVALID; /* don't know yet if enum or struct, will be fileld in by varlink_idl_subparse_struct_or_enum() */ + symbol->symbol_type = _VARLINK_SYMBOL_TYPE_INVALID; /* don't know yet if enum or struct, will be field in by varlink_idl_subparse_struct_or_enum() */ symbol->name = TAKE_PTR(token); r = varlink_idl_subparse_struct_or_enum(&text, line, column, &symbol, &n_fields, VARLINK_REGULAR); diff --git a/src/shared/varlink.c b/src/shared/varlink.c index f061024785..81ccae3bb7 100644 --- a/src/shared/varlink.c +++ b/src/shared/varlink.c @@ -221,7 +221,7 @@ struct VarlinkServer { Hashmap *methods; /* Fully qualified symbol name of a method → VarlinkMethod */ Hashmap *interfaces; /* Fully qualified interface name → VarlinkInterface* */ - Hashmap *symbols; /* Fully qualified symbol name of methord/error → VarlinkSymbol* */ + Hashmap *symbols; /* Fully qualified symbol name of method/error → VarlinkSymbol* */ VarlinkConnect connect_callback; VarlinkDisconnect disconnect_callback; |