Some motherboards convert the path to uppercase under certain circumstances
(e.g. after booting into the Boot Menu in the ASUS ROG STRIX B350-F GAMING).
(cherry picked from commit
5c2e5957678462d871c5c2ea5261becec5f8f80f)
return false;
if (!sd_id128_equal(uuid, ouuid))
return false;
- if (!streq_ptr(path, opath))
+
+ /* Some motherboards convert the path to uppercase under certain circumstances
+ * (e.g. after booting into the Boot Menu in the ASUS ROG STRIX B350-F GAMING),
+ * so use case-insensitive checking */
+ if (!strcaseeq_ptr(path, opath))
return false;
return true;