udev-util: add parentheses to make coverity silent

Fixes CID#1474365.
This commit is contained in:
Yu Watanabe
2022-02-18 08:35:35 +01:00
committed by Zbigniew Jędrzejewski-Szmek
parent f2f11dfbb7
commit 9fa31df62d
+1 -1
View File
@@ -736,5 +736,5 @@ bool udev_available(void) {
if (cache >= 0)
return cache;
return (cache = path_is_read_only_fs("/sys/") <= 0);
return (cache = (path_is_read_only_fs("/sys/") <= 0));
}