summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-04-25 10:06:08 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-04-25 10:06:08 +0900
commit8ac6b05b7cadaf5298ae67ffcd13e2b170b54393 (patch)
treeb96f90276640f2fdaca0f7b3f3bdb3ff7089c113 /src
parentd5a99b7c9c65ab7651c51de4db81d34cfd51f143 (diff)
downloadsystemd-8ac6b05b7cadaf5298ae67ffcd13e2b170b54393.tar.gz
tree-wide: Fix typo
Diffstat (limited to 'src')
-rw-r--r--src/creds/creds.c2
-rw-r--r--src/libsystemd/sd-bus/bus-track.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/creds/creds.c b/src/creds/creds.c
index 92aedc903f..4f2400df40 100644
--- a/src/creds/creds.c
+++ b/src/creds/creds.c
@@ -549,7 +549,7 @@ static int verb_has_tpm2(int argc, char **argv, void *userdata) {
/* Return inverted bit flags. So that TPM2_SUPPORT_FULL becomes EXIT_SUCCESS and the other values
* become some reasonable values 1…7. i.e. the flags we return here tell what is missing rather than
- * what is there, acknowledging the fact that for process exit statusses it is customary to return
+ * what is there, acknowledging the fact that for process exit statuses it is customary to return
* zero (EXIT_FAILURE) when all is good, instead of all being bad. */
return ~s & TPM2_SUPPORT_FULL;
}
diff --git a/src/libsystemd/sd-bus/bus-track.c b/src/libsystemd/sd-bus/bus-track.c
index e403555f8f..245d082f8d 100644
--- a/src/libsystemd/sd-bus/bus-track.c
+++ b/src/libsystemd/sd-bus/bus-track.c
@@ -193,7 +193,7 @@ _public_ int sd_bus_track_add_name(sd_bus_track *track, const char *name) {
if (track->recursive) {
assert(i->n_ref > 0);
- /* Manual oveflow check (instead of a DEFINE_TRIVIAL_REF_FUNC() helper or so), so
+ /* Manual overflow check (instead of a DEFINE_TRIVIAL_REF_FUNC() helper or so), so
* that we can return a proper error, given this is almost always called in a
* directly client controllable way, and thus better should never hit an assertion
* here. */