varlink: fix typo

Follow-ups for #29325.
This commit is contained in:
Yu Watanabe 2023-10-07 15:48:19 +09:00
parent a5e6d2fdf5
commit 939630ae28
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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);

View file

@ -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;