]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
vpick: fix typo
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 5 Jan 2024 10:03:24 +0000 (19:03 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 5 Jan 2024 10:08:12 +0000 (19:08 +0900)
Follow-up for 76511c1bd32a262c76d462919083925c47cbd212.

src/shared/vpick.c
src/shared/vpick.h

index 4a4d1eb408010e2007e91fd41b468494c43759cc..ab1f4289fcce0ac10249bdae70fc4c5f3f38570e 100644 (file)
@@ -570,8 +570,8 @@ int path_pick(const char *toplevel_path,
                 if (!wildcard)
                         goto bypass; /* Not a pattern, then bypass */
 
-                /* We found the '___' wildcard, hence evertyhing after it is our filter suffix, and
-                 * evertyhing before is our filter basename */
+                /* We found the '___' wildcard, hence everything after it is our filter suffix, and
+                 * everything before is our filter basename */
                 *wildcard = 0;
                 filter_suffix = empty_to_null(wildcard + 3);
 
index fec7ca4cf2df5cf0c2dc16b08ba377568cf5ec7a..591852e986fc27299865eec5c2a83b33f8358497 100644 (file)
@@ -13,10 +13,10 @@ typedef enum PickFlags {
 
 typedef struct PickFilter {
         uint32_t type_mask;           /* A mask of 1U << DT_REG, 1U << DT_DIR, … */
-        const char *basename;         /* Can be overriden by search pattern */
+        const char *basename;         /* Can be overridden by search pattern */
         const char *version;
         Architecture architecture;
-        const char *suffix;           /* Can be overriden by search pattern */
+        const char *suffix;           /* Can be overridden by search pattern */
 } PickFilter;
 
 typedef struct PickResult {