summaryrefslogtreecommitdiffstats
path: root/src/udev
diff options
context:
space:
mode:
authorBen Boeckel <mathstuf@gmail.com>2019-04-27 02:22:40 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-04-29 16:47:18 +0200
commit5238e9575906297608ff802a27e2ff9effa3b338 (patch)
treee17c534a09908167a0697a49ed3237f43134eb4c /src/udev
parentnetwork: drop invalid assertion (diff)
downloadsystemd-5238e9575906297608ff802a27e2ff9effa3b338.tar.xz
systemd-5238e9575906297608ff802a27e2ff9effa3b338.zip
codespell: fix spelling errors
Diffstat (limited to 'src/udev')
-rw-r--r--src/udev/cdrom_id/cdrom_id.c2
-rw-r--r--src/udev/net/naming-scheme.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/cdrom_id/cdrom_id.c b/src/udev/cdrom_id/cdrom_id.c
index 3f882f557b..ddcdbdaa18 100644
--- a/src/udev/cdrom_id/cdrom_id.c
+++ b/src/udev/cdrom_id/cdrom_id.c
@@ -611,7 +611,7 @@ static int cd_media_info(int fd) {
if (!cd_media_cd_rom)
cd_media_state = media_status[header[2] & 3];
- /* fresh DVD-RW in restricted overwite mode reports itself as
+ /* fresh DVD-RW in restricted overwrite mode reports itself as
* "appendable"; change it to "blank" to make it consistent with what
* gets reported after blanking, and what userspace expects */
if (cd_media_dvd_rw_ro && (header[2] & 3) == 1)
diff --git a/src/udev/net/naming-scheme.h b/src/udev/net/naming-scheme.h
index 1f7cb0ccb9..324b8e679c 100644
--- a/src/udev/net/naming-scheme.h
+++ b/src/udev/net/naming-scheme.h
@@ -5,7 +5,7 @@
#include "macro.h"
-/* So here's the deal: net_id is supposed to be an excercise in providing stable names for network devices. However, we
+/* So here's the deal: net_id is supposed to be an exercise in providing stable names for network devices. However, we
* also want to keep updating the naming scheme used in future versions of net_id. These two goals of course are
* contradictory: on one hand we want things to not change and on the other hand we want them to improve. Our way out
* of this dilemma is to introduce the "naming scheme" concept: each time we improve the naming logic we define a new