summaryrefslogtreecommitdiff
path: root/src/nspawn
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-12-02 13:26:33 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-12-02 13:27:08 +0900
commit6c2d70ce9f6bf0df00ee1a15eba606ac506f5474 (patch)
tree980b7d80dde94786e1a611a19c576db4aa434790 /src/nspawn
parent9b9798483a5e881b7274620a0366e27666b43c40 (diff)
downloadsystemd-6c2d70ce9f6bf0df00ee1a15eba606ac506f5474.tar.gz
tree-wide: fix typo
Diffstat (limited to 'src/nspawn')
-rw-r--r--src/nspawn/nspawn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index ea425f009e..1e0c8a2448 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -1249,7 +1249,7 @@ static int parse_argv(int argc, char *argv[]) {
arg_uid_range = UINT32_C(0x10000);
} else if (streq(optarg, "identity")) {
- /* identitiy: User namespaces on, UID range is map the 0…0xFFFF range to
+ /* identity: User namespaces on, UID range is map the 0…0xFFFF range to
* itself, i.e. we don't actually map anything, but do take benefit of
* isolation of capability sets. */
arg_userns_mode = USER_NAMESPACE_FIXED;
@@ -3727,7 +3727,7 @@ static int outer_child(
* place, so that we can make changes to its mount structure (for example, to implement
* --volatile=) without this interfering with our ability to access files such as
* /etc/localtime to copy into the container. Note that we use a fixed place for this
- * (instead of a temporary directory, since we are living in our own mount namspace here
+ * (instead of a temporary directory, since we are living in our own mount namespace here
* already, and thus don't need to be afraid of colliding with anyone else's mounts). */
(void) mkdir_p("/run/systemd/nspawn-root", 0755);