summaryrefslogtreecommitdiff
path: root/src/fundamental
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-05-24 16:25:58 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-05-25 13:47:47 +0200
commit2367bdcfc90198620ea2b905f450fc514fd93d93 (patch)
treee50d5306ce612d194363f87d1bfa3b3d0441f89f /src/fundamental
parent46083ab321826d920b32de85c7328a5f39b7fff4 (diff)
downloadsystemd-2367bdcfc90198620ea2b905f450fc514fd93d93.tar.gz
docs/BLS: describe version comparisons
Fixes #23346.
Diffstat (limited to 'src/fundamental')
-rw-r--r--src/fundamental/string-util-fundamental.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fundamental/string-util-fundamental.c b/src/fundamental/string-util-fundamental.c
index 73abc2f8c8..169568e244 100644
--- a/src/fundamental/string-util-fundamental.c
+++ b/src/fundamental/string-util-fundamental.c
@@ -150,7 +150,7 @@ sd_int strverscmp_improved(const sd_char *a, const sd_char *b) {
}
/* If at least one string reaches the end, then longer is newer.
- * Note that except for '~' prefixed segments, a string has more segments is newer.
+ * Note that except for '~' prefixed segments, a string which has more segments is newer.
* So, this check must be after the '~' check. */
if (*a == '\0' || *b == '\0')
return CMP(*a, *b);
@@ -233,7 +233,7 @@ sd_int strverscmp_improved(const sd_char *a, const sd_char *b) {
return r;
}
- /* The current segments are equivalent. Let's compare the next one. */
+ /* The current segments are equivalent. Let's move to the next one. */
a = aa;
b = bb;
}