From 24ee0f9d16dd5c12e03a072568a189db46c3bd92 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Thu, 17 Dec 2020 00:53:01 +0900 Subject: [PATCH] tree-wide: fix typo --- man/sd_bus_default.xml | 2 +- man/user-system-options.xml | 2 +- src/core/namespace.c | 2 +- src/journal/journal-file.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/man/sd_bus_default.xml b/man/sd_bus_default.xml index 768a386160..f4b1d6a791 100644 --- a/man/sd_bus_default.xml +++ b/man/sd_bus_default.xml @@ -199,7 +199,7 @@ specified as the special string .host the connection is made to the local system. This is useful to connect to the local system bus as specific user, e.g. foobar@.host to connect to the local system bus as local user foobar. If the @ - syntax is used either the left-hand side or the right-hand side may be ommited (but not both) in which + syntax is used either the left-hand side or the right-hand side may be omitted (but not both) in which case the local user name or .host is implied. If the @ syntax is not used the connection is always made as root user. See sd_bus_set_address3 diff --git a/man/user-system-options.xml b/man/user-system-options.xml index e2c19b2982..f3bafaea38 100644 --- a/man/user-system-options.xml +++ b/man/user-system-options.xml @@ -51,7 +51,7 @@ system is made (which is useful to connect to a specific user's user bus: --user --machine=lennart@.host). If the @ syntax is not used, the connection is made as root user. If the @ syntax is used either the left hand side or the right hand - side may be ommitted (but not both) in which case the local user name and .host are + side may be omitted (but not both) in which case the local user name and .host are implied. diff --git a/src/core/namespace.c b/src/core/namespace.c index 9154fde77e..767439b7f6 100644 --- a/src/core/namespace.c +++ b/src/core/namespace.c @@ -901,7 +901,7 @@ static int mount_procfs(const MountEntry *m, const NamespaceInfo *ns_info) { * mount. Hence let's gracefully fallback to a classic, unrestricted version. */ r = mount_nofollow_verbose(LOG_DEBUG, "proc", entry_path, "proc", MS_NOSUID|MS_NOEXEC|MS_NODEV, NULL); if (r == -EPERM) { - /* When we do not have enough priviledge to mount /proc, fallback to use existing /proc. */ + /* When we do not have enough privileges to mount /proc, fallback to use existing /proc. */ if (n > 0) /* /proc or some of sub-mounts are umounted in the above. Refuse incomplete tree. diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c index 20c4edb6ca..1d92e15f26 100644 --- a/src/journal/journal-file.c +++ b/src/journal/journal-file.c @@ -3711,7 +3711,7 @@ int journal_file_dispose(int dir_fd, const char *fname) { assert(fname); - /* Renames a journal file to *.journal~, i.e. to mark it as corruped or otherwise uncleanly shutdown. Note that + /* Renames a journal file to *.journal~, i.e. to mark it as corrupted or otherwise uncleanly shutdown. Note that * this is done without looking into the file or changing any of its contents. The idea is that this is called * whenever something is suspicious and we want to move the file away and make clear that it is not accessed * for writing anymore. */