]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
varlink: fix typo
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 7 Oct 2023 06:48:19 +0000 (15:48 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 7 Oct 2023 06:48:22 +0000 (15:48 +0900)
Follow-ups for #29325.

man/varlinkctl.xml
src/shared/varlink-idl.c
src/shared/varlink.c

index 5d0ec6ace7e0da7b5de0150df7b9b3e24df94e9d..7dec54cc69bde9f6e3d06180517c6340486d3682 100644 (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
index 157474facf8d1061dd990f51e610db3ebda2dc18..73f336c522ec947a3aac9b8660f0954527785b59 100644 (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);
index f061024785c50c37a46c1bbb002a222172b0c2e9..81ccae3bb786eb0eb22f89e2aafb135784256637 100644 (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;