summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-10-07 08:48:19 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-10-07 08:48:22 +0200
commit939630ae28f827e76f945eee4b6898b7d8c0be2f (patch)
tree779132ee7d3e3f153eb682b5e407ea8e7a32cc50 /src
parentMerge pull request #29475 from keszybz/remove-wrapper-functions (diff)
downloadsystemd-939630ae28f827e76f945eee4b6898b7d8c0be2f.tar.xz
systemd-939630ae28f827e76f945eee4b6898b7d8c0be2f.zip
varlink: fix typo
Follow-ups for #29325.
Diffstat (limited to 'src')
-rw-r--r--src/shared/varlink-idl.c2
-rw-r--r--src/shared/varlink.c2
2 files changed, 2 insertions, 2 deletions
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;