tree-wide: replace strverscmp() and str_verscmp() with strverscmp_improved()

This commit is contained in:
Yu Watanabe
2021-02-09 14:25:03 +09:00
parent 87b7d9b6ff
commit 8087644a13
8 changed files with 10 additions and 131 deletions
+1 -1
View File
@@ -2164,7 +2164,7 @@ CGroupMask get_cpu_accounting_mask(void) {
struct utsname u;
assert_se(uname(&u) >= 0);
if (str_verscmp(u.release, "4.15") < 0)
if (strverscmp_improved(u.release, "4.15") < 0)
needed_mask = CGROUP_MASK_CPU;
else
needed_mask = 0;