summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTorstein Husebø <torstein@huseboe.net>2016-09-26 11:32:47 +0200
committerMartin Pitt <martin.pitt@ubuntu.com>2016-09-26 11:32:47 +0200
commitd23a0044a3ba9ebff5e4e304152fd24ecf113524 (patch)
tree501dfb1d77d46b473969fe68d9680bbfc81b7afb /src
parent6c1e2427df86b11076dffefbcdfd031429f5b256 (diff)
treewide: fix typos (#4217)
Diffstat (limited to 'src')
-rw-r--r--src/nspawn/nspawn.c2
-rw-r--r--src/vconsole/vconsole-setup.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index 0d61d34ebf..5e0207adf0 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -1222,7 +1222,7 @@ static int setup_timezone(const char *dest) {
if (r < 0) {
log_warning("host's /etc/localtime is not a symlink, not updating container timezone.");
/* to handle warning, delete /etc/localtime and replace it
- * it /w a symbolic link to a time zone data file.
+ * with a symbolic link to a time zone data file.
*
* Example:
* ln -s /usr/share/zoneinfo/UTC /etc/localtime
diff --git a/src/vconsole/vconsole-setup.c b/src/vconsole/vconsole-setup.c
index c0d76f9685..ac4ceb1486 100644
--- a/src/vconsole/vconsole-setup.c
+++ b/src/vconsole/vconsole-setup.c
@@ -75,7 +75,7 @@ static bool is_settable(int fd) {
r = ioctl(fd, KDGKBMODE, &curr_mode);
/*
* Make sure we only adjust consoles in K_XLATE or K_UNICODE mode.
- * Oterwise we would (likely) interfere with X11's processing of the
+ * Otherwise we would (likely) interfere with X11's processing of the
* key events.
*
* http://lists.freedesktop.org/archives/systemd-devel/2013-February/008573.html