From: Yu Watanabe Date: Fri, 5 Jan 2024 10:03:24 +0000 (+0900) Subject: vpick: fix typo X-Git-Tag: v256-rc1~1272 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=20a0aeb039327e3240ea1981c6df4c758400c40d;p=thirdparty%2Fsystemd.git vpick: fix typo Follow-up for 76511c1bd32a262c76d462919083925c47cbd212. --- diff --git a/src/shared/vpick.c b/src/shared/vpick.c index 4a4d1eb4080..ab1f4289fcc 100644 --- a/src/shared/vpick.c +++ b/src/shared/vpick.c @@ -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); diff --git a/src/shared/vpick.h b/src/shared/vpick.h index fec7ca4cf2d..591852e986f 100644 --- a/src/shared/vpick.h +++ b/src/shared/vpick.h @@ -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 {