From: Yu Watanabe Date: Mon, 31 Jul 2023 17:39:13 +0000 (+0900) Subject: udev: fix typo in comment X-Git-Tag: v255-rc1~865 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=114085932cf327a3977d6108ab4e0c9ce531768c;p=thirdparty%2Fsystemd.git udev: fix typo in comment Follow-ups for ded2b1d0933b24d5e0a503e3bd37f8030a11d9a7 and 3327877ca332ad8188acd608807c64470a845125. --- diff --git a/src/udev/udev-builtin-net_id.c b/src/udev/udev-builtin-net_id.c index fe89ffb1337..a1aba19cba1 100644 --- a/src/udev/udev-builtin-net_id.c +++ b/src/udev/udev-builtin-net_id.c @@ -317,7 +317,7 @@ static int parse_hotplug_slot_from_function_id(sd_device *dev, int slots_dirfd, return log_device_debug_errno(dev, errno, "Cannot access %s under pci slots, ignoring: %m", filename); *ret = (uint32_t) function_id; - return 1; /* Found. We shoud ignore domain part. */ + return 1; /* Found. We should ignore domain part. */ } static int dev_pci_slot(sd_device *dev, const LinkInfo *info, NetNames *names) { @@ -545,7 +545,7 @@ static int names_vio(sd_device *dev, const char *prefix, bool test) { return log_device_debug_errno(dev, SYNTHETIC_ERRNO(EINVAL), "VIO bus ID and slot ID contain invalid characters: %s", s); - /* Parse only slot ID (tha last 4 hexdigits). */ + /* Parse only slot ID (the last 4 hexdigits). */ r = safe_atou_full(s + 4, 16, &slotid); if (r < 0) return log_device_debug_errno(dev, r, "Failed to parse VIO slot from syspath \"%s\": %m", syspath);