diff options
author | Samanta Navarro <ferivoz@riseup.net> | 2020-11-11 11:38:19 +0000 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2020-11-12 11:44:09 -0500 |
commit | 4a0cd79588d2a472ab81e4f1d0e1e1bf6f2b390c (patch) | |
tree | 482e652a53ead4b26e8d97a4854671cdc0df0d61 /src/lib/subsys | |
parent | e2d3c9c5f82a1369385dd99765c31ba479ba8f23 (diff) | |
download | tor-4a0cd79588d2a472ab81e4f1d0e1e1bf6f2b390c.tar.gz tor-4a0cd79588d2a472ab81e4f1d0e1e1bf6f2b390c.zip |
Fix typos.
Typos found with codespell.
Please keep in mind that this should have impact on actual code
and must be carefully evaluated:
src/core/or/lttng_circuit.inc
- ctf_enum_value("CONTROLER", CIRCUIT_PURPOSE_CONTROLLER)
+ ctf_enum_value("CONTROLLER", CIRCUIT_PURPOSE_CONTROLLER)
Diffstat (limited to 'src/lib/subsys')
-rw-r--r-- | src/lib/subsys/initialization.md | 4 | ||||
-rw-r--r-- | src/lib/subsys/subsys.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/subsys/initialization.md b/src/lib/subsys/initialization.md index 012ab7000d..ee3104324d 100644 --- a/src/lib/subsys/initialization.md +++ b/src/lib/subsys/initialization.md @@ -50,7 +50,7 @@ Our current convention is to use the subsystem mechanism to initialize and clean up pieces of Tor. The more recently updated pieces of Tor will use this mechanism. For examples, see e.g. time_sys.c or log_sys.c. -In simplest terms, a **subsytem** is a logically separate part of Tor that +In simplest terms, a **subsystem** is a logically separate part of Tor that can be initialized, shut down, managed, and configured somewhat independently of the rest of the program. @@ -59,7 +59,7 @@ initialize it, desconstruct it, and so on. To define a subsystem, we declare a `const` instance of subsys_fns_t. See the documentation for subsys_fns_t for a full list of these functions. -After defining a subsytem, it must be inserted in subsystem_list.c. At that +After defining a subsystem, it must be inserted in subsystem_list.c. At that point, table-driven mechanisms in subsysmgr.c will invoke its functions when appropriate. diff --git a/src/lib/subsys/subsys.h b/src/lib/subsys/subsys.h index 4cff5f0b6e..abfc82d56a 100644 --- a/src/lib/subsys/subsys.h +++ b/src/lib/subsys/subsys.h @@ -194,7 +194,7 @@ typedef struct subsys_fns_t { /** * Return a list of metrics store of this subsystem. This is called - * everytime a request arrives on the MetricsPort. + * every time a request arrives on the MetricsPort. * * The list MUST contain metrics_store_t object and contains entries so it * can be formatted for the metrics port. |